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

Add OAuth2 password flow authentication #61

Merged
merged 3 commits into from
May 28, 2024
Merged

Add OAuth2 password flow authentication #61

merged 3 commits into from
May 28, 2024

Conversation

jmaupetit
Copy link
Member

@jmaupetit jmaupetit commented May 28, 2024

Purpose

Before providing a fully integrated OIDC experience, we decided to provide a simpler alternative using OAuth2 password flow to authenticate our first users without requiring a third party authentication server.

Proposal

  • add support for user password management
  • add oauth2 password flow authentication

jmaupetit added 2 commits May 27, 2024 14:42
Be more accurate on the test scope.
We now persist hashed user passwords.
src/api/qualicharge/auth/oidc.py Outdated Show resolved Hide resolved
src/api/qualicharge/auth/oidc.py Outdated Show resolved Hide resolved
@jmaupetit jmaupetit marked this pull request as ready for review May 28, 2024 15:21
@jmaupetit jmaupetit removed the WIP label May 28, 2024
Before providing a fully integrated OIDC experience, we decided to
provide a simpler alternative using OAuth2 password flow to authenticate
our first users without requiring a third party authentication server.
@jmaupetit jmaupetit merged commit c5f8b26 into main May 28, 2024
9 checks passed
@jmaupetit jmaupetit deleted the add-alt-auth branch May 28, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant