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 a button to login with GitHub #95

Closed
amoutonbrady opened this issue Apr 23, 2022 · 0 comments
Closed

Add a button to login with GitHub #95

amoutonbrady opened this issue Apr 23, 2022 · 0 comments

Comments

@amoutonbrady
Copy link
Member

Context

At the moment 100% of the shared playground are store in a Cloudflare KV store.
We would like to slowly transition away from that and store it on our own infrastructure based on Supabase.
The first part to do that is to implement authentication which would allow to save the REPL.

User Stories

  • As an unauthenticated user, I load the playground page and click the "Sign In" button. I then proceed to authorize Github to communicate my information and I'm redirected to the playground. I see my username, indicating that the connexion is indeed made between the playground and my Solid account.

Functional rules

Given When Then
I'm on the playground I click on the "Sign In" button at the top right corner I'm redirected to a GitHub page that ask me if I allow Solid to use my information
I'm on the GitHub page that asks me about my information I click on the "authorize button" I'm redirected on the playground and I see my username on the top right corner in place of the Sign In button

Technical details

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

No branches or pull requests

1 participant