RetroFed Forum
Your home away from modern life.
OAuth - “log in with mastodon” and/or “log in with google”
Post Reply
AuthorMessage
Rimu piefed.social rimu@piefed.social
Joined: 2024-01-04
Quote

1   Original
Jeena piefed.jeena.net jeena@piefed.jeena.net
Joined: 2024-06-11
#2 · Quote Reply

I would rather have a login which is compatible with many providers so rather a specific protocol like one of OpenID Connect, OAuth 2.0, and/or SAML.

1
cabbage piefed.social cabbage@piefed.social
Joined: 2024-01-08
#3 · Quote Reply

"Log in with Mastodon" could be cool. I don't feel the need to have Google associated with anything in any way, even if very minor.

1
Blaze (he/him) feddit.org Blaze@feddit.org
Joined: 2024-08-28
#4 · Quote Reply

"Log in with Mastodon" could be cool. I don't feel the need to have Google associated with anything in any way, even if very minor.

As much as I dislike Google, that option would definitely help wider adoption

1
ericjmorey piefed.social ericjmorey@piefed.social
Joined: 2024-03-03
#5 · Quote Reply

Passkeys would be a UX with less friction than OAuth. Both could be used, but if choosing one, I'd go with passkeys.

1
nihar piefed.social nihar@piefed.social
Joined: 2024-03-06
#6 · Quote Reply

OAuth support would be great as it would allow existing Mastodon communities launch a piefed for their members!

1
Rimu Moderator rimu@piefed.social
Joined: 2024-01-04
#7 · Quote Reply

Passkeys would be a UX with less friction than OAuth. Both could be used, but if choosing one, I'd go with passkeys.

I did a passkey implementation in Flask recently, it was pretty good.

Even so I'm not real sure if passkeys make all that "log in with existing account" stuff obsolete or what...

1
wakest ⁂ social.wake.st liaizon@social.wake.st
Joined: 2019-02-14
#8 · Quote Reply

@rimu SSO with LDAP support would be great so installing with other fedi apps you can all use one login. Also maybe keycloak

1
ericjmorey piefed.social ericjmorey@piefed.social
Joined: 2024-03-03
#9 · Quote Reply

"Log in with Mastodon" could be cool. I don't feel the need to have Google associated with anything in any way, even if very minor.

Can you elaborate?

1
cabbage piefed.social cabbage@piefed.social
Joined: 2024-01-08
#10 · Quote Reply

Can you elaborate?

I'm not sure there's much to elaborate on, sorry. I just don't like Google's dominance online, and I consider anything that contributes to it to be a bad thing.

It's purely value based, I'm sure the functionality would be useful for some.

1
hendrik palaver.p3x.de hendrik@palaver.p3x.de
Joined: 2021-08-21
#11 · Quote Reply

Did anyone of us ever evaluate the available Python/Flask libraries for OAuth2/OIDC? Or have some experience with specific ones?

I've had a look at this and our available options. I'm leaning towards either Flask-Multipass of Flask-Security. I think that'd solve all our problems with one (admittedly fairly extensive) blow.

Of course neither of the two include all the options, one seems to lack WebAuthN(Passkeys) and I can't find LDAP in the other one. Both methods have been requested... But that's not the main concern as I mainly prefer a relatively clean and maintainable solution over features.

And Flask-Security looks like a much more integrated solution. Which is nice, but we might end up needing more flexibility for the Fediverse stuff, so I'm not sure if we can make use of this. It'll want to handle stuff like roles, sending confirmation mails, etc which we currently have our own code to deal with. On the other hand, if it's a clean way to abstract things away...

1
Rimu Moderator rimu@piefed.social
Joined: 2024-01-04
#12 · Quote Reply

Did anyone of us ever evaluate the available Python/Flask libraries for OAuth2/OIDC? Or have some experience with specific ones? I've had a look at this and our available options. I'm leaning towards either Flask-Multipass of Flask-Security. I think that'd solve all our problems with one (admittedly fairly extensive) blow. Of course neither of the two include all the options, one seems to lack ...

For "Log in with Google" (OAuth) I've used flask-dance https://github.com/singingwolfboy/flask-dance & https://flask-dance.readthedocs.io/en/latest/ on one of my apps for years. It's been fine and I could easily port it over to PieFed.

1
Post Reply
Back to top