-
Notifications
You must be signed in to change notification settings - Fork 174
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
JWT Token Authentication #1421
JWT Token Authentication #1421
Conversation
Get a
Should this setting be added to the XML or the Database? |
f4f5a49
to
231d8ef
Compare
Put a release note for this pull request if it still fails PHP 5.4. Watch this! |
647a781
to
053cbd3
Compare
This reverts commit 6758f70.
Our official support policy is now to support the last 2 PHP releases at the time of the major release. Today, that would be 5.6 and 7.0.
Current coverage is
|
@@ -166,3 +170,5 @@ INSERT INTO Config (ConfigID, Value) SELECT ID, "mri_parameter_form" FROM Config | |||
INSERT INTO Config (ConfigID, Value) SELECT ID, "no-reply@example.com" FROM ConfigSettings WHERE Name="From"; | |||
INSERT INTO Config (ConfigID, Value) SELECT ID, "no-reply@example.com" FROM ConfigSettings WHERE Name="Reply-to"; | |||
INSERT INTO Config (ConfigID, Value) SELECT ID, "Produced by LorisDB" FROM ConfigSettings WHERE Name="X-MimeOLE"; | |||
|
|||
INSERT INTO Config (ConfigID, Value) SELECT ID, "S3cret" FROM ConfigSettings WHERE Name="JWTKey"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make a note in the documentation not in the installation for developers to change.
This pull request means you have run composer update |
This adds support for the final piece of v0.0.1 of the LORIS API, user authentication with JWT tokens. Users can now post to login in the API with a valid username and password to receive a token which can be used for authentication in an Authorization: HTTP header.
The login page is also updated to use the API's authentication via javascript, so that we're using our own API.