Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Token Authentication #2432

Open
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@splitbrain
Copy link
Owner

splitbrain commented Jun 21, 2018

This implements #2431. Users can set up the token in their profile. Requests that send the token in an authorization header will be authorized automatically:

Authorization: DokuWiki <token>

The token is two parts: the first part encodes the user (using MD5) the second part is the actual random token.

The PR also refactors the Profile-View into an UI class.

splitbrain added some commits Jun 21, 2018

moved Profile stuf to UI class
I did not change this to the new Form class, yet. We need a good way to
handle events first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.