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

fix(GIST-26): fix some auth quirks about providers and cookies #10

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

Courtcircuits
Copy link
Member

No description provided.

Copy link

linear bot commented Aug 21, 2024

GIST-26 Authentication quirks fixes

When adding api calls to frontend, I came across a few quirks about the authentication process :

  • the cookie middleware doesn't get the gists.access_token but the auth
  • usernames are not set correctly depending on the provider
    • Github should use -> RawData.Login
    • Google should use the first part of the email (before the )
  • In the database the type is not set for local auth

@Courtcircuits Courtcircuits merged commit 70b64bc into main Aug 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant