-
Notifications
You must be signed in to change notification settings - Fork 425
backend (auth): Remove Session usage, add JWT bearer auth logic, dynamically set router dependencies #163
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
Conversation
lusmoura
left a comment
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.
LGTM! What should we do about the tests that are failing? Should we add JWT_SECRET_KEY to the repo?
EugeneLightsOn
left a comment
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.
Looks good to me, thanks. Only take a look at Luisa's comments.
EugeneLightsOn
left a comment
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.
Great PR, thank you
Please restore Make win-setup and win-first-run commands and good to go.
malexw
left a comment
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.
I didn't take a close look at the tests, but this looks pretty good to me
…into add-jwt Please enter a commit message to explain why this merge is necessary,
EugeneLightsOn
left a comment
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.
LGTM, thanks
SessionMiddlewareusage, andget_sessionendpointGET /auth_strategiesendpoint/loginand/authto return a JWT token on successful authenticationconfig/routers.pyfile to define default or auth dependencies. These dependencies are set during app creation time