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

Support accessing /api/ endpoints using jwt authentication #1755

Closed
wlach opened this issue Apr 20, 2019 · 1 comment
Closed

Support accessing /api/ endpoints using jwt authentication #1755

wlach opened this issue Apr 20, 2019 · 1 comment
Assignees

Comments

@wlach
Copy link
Contributor

wlach commented Apr 20, 2019

To support the internal server use case, @jezdez had the idea of using https://github.com/davesque/django-rest-framework-simplejwt to allow users to get a token which allows accessing the iodide api's with a known expiry (unlike the django session authentication, which randomly times out due to the vagaries of openidc).

The server-side implementation of this is likely to be very similar to the authtoken authentication I added in a4a8f58. Obviously the client side will also need to be reworked to use it, but I think we can get the server parts working standalone and test it, and then work on the client parts as a seperate step.

@rafrombrc @robhudson (or others) -- any interest in giving this a shot? I will be away this coming week but can review when I return.

@wlach
Copy link
Contributor Author

wlach commented May 29, 2019

It seems like fate would have me implement all of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant