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

Rework authentication #7

Open
gsipos opened this issue May 24, 2023 · 0 comments
Open

Rework authentication #7

gsipos opened this issue May 24, 2023 · 0 comments
Assignees

Comments

@gsipos
Copy link
Member

gsipos commented May 24, 2023

The problem

  • Users are required to find and click a button inside a popup that appears every time they navigate to the wiki.
  • Users can't find popups.

Current solution

Possible solution

Implement "Authorization code flow" instead of the "Implicit code flow"

https://developers.google.com/identity/oauth2/web/guides/use-code-model

This requires additional things:

So basically this means that on the server side we get a refresh token for the user on the first time on the server side, store the refresh token, then we just exchange a refresh token to an access token as necessary.

@bbazsy fyi

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

No branches or pull requests

2 participants