-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add authentication/authorization to the API #2063
Comments
picking up the first iteration of this. Looking first at what we do with the household API. |
TLDRI have a branch we can use to test auth. Currently the back end will not accept our tokens. Probable next steps
The current errorIgnoring the header type issue (which I fixed by fixing my curl command). The immediate error is that the token has a header "alg" which is set to "dir" and the parser library for the token does not support that option. (I have directly confirmed this error via debug) why is it set to 'dir'? At least according to the SPA API Guide, doing that requires enabling the "Authorization extension" which we don't currently have and which provides a lot more functionality than we actually need or want. What I have and how to try it
|
Currently we do not expect or process any authentication token from the clients using our API. The scope of this task is to update the API to process the authentication token, when provided, and then use it to authorize a subset of operations where appropriate.
Scope includes determining which operations should be constrained with authorization, but that must include at least editing a user profile.
The text was updated successfully, but these errors were encountered: