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

Connect SSO after login #52

Closed
erlend-sh opened this issue Jun 14, 2024 · 3 comments
Closed

Connect SSO after login #52

erlend-sh opened this issue Jun 14, 2024 · 3 comments
Assignees

Comments

@erlend-sh
Copy link
Contributor

As a complement to #35 we need a way for users to add their preferred social login after they’ve already logged in, since we don’t allow an existing user to log in via a social provider if the email match:

IMG_2365

We just need a ‘Add login provider’ button at the bottom of the https://weird.one/auth/v1/account page.

(We are quickly filling up this account page, so we’ll need multiple tabs for it soon.)

@kimlimjustin
Copy link
Contributor

Umm... Are we going to allow multiple social provider accounts linked to one weird account? Or are we allowing only one social provider account linked to an account?

The current implementation of Rauthy allows only one provider though (https://github.com/sebadob/rauthy/blob/e7415111426f1e2d6595ac26dc64305c79cc7632/rauthy-models/src/entity/users.rs#L54-L76)

@erlend-sh
Copy link
Contributor Author

erlend-sh commented Jun 15, 2024

only one social provider account linked to an account?

we’re fine with just that for now. What we are trying to solve for is:

  • user has registered by email
  • user wants to authenticate with a social provider so they can login with that instead of email.

@kimlimjustin
Copy link
Contributor

Pushed a PR for this (#58)

zicklag pushed a commit that referenced this issue Jul 8, 2024
Giving the ability for users to connect their SSO after creating
accounts using passwords, simply by going to the account page and click
the button "Link my account with [provider]"

Closes: #52
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