muni-town / weird

Weird web pages
https://weird.one
Other
55 stars 11 forks source link

feat: connect SSO after login (closes #52) #58

Closed kimlimjustin closed 5 months ago

kimlimjustin commented 5 months ago

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]"

image ^ Example with google as a provider

github-actions[bot] commented 5 months ago

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

kimlimjustin commented 5 months ago

I have read the CLA Document and I hereby sign the CLA

kimlimjustin commented 5 months ago

recheck

kimlimjustin commented 5 months ago

Thanks for the fast response, it was my bad and I've edited them.

Also, we should probably add a way to disconnect a provider soon after this.

In my mind, we'll also need the option to add a password for an SSO-registered account too, wdyt? I'll probably send another PRs regarding this asap

zicklag commented 5 months ago

In my mind, we'll also need the option to add a password for an SSO-registered account too, wdyt? I'll probably send another PRs regarding this asap

Yeah, definitely.

I think the way it works in Rauthy is:

That means you can only connect to one provider at a time, which is how Rauthy works I think.


Oh, one other thought, it'd be good to have the logos for the SSO providers to connect to in the link buttons.

But I'll merge this now, thanks again!