-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Let us add our Mastodon addresses #331
Comments
We currently us Auth0 for login. I've asked them for Mastodon support. See https://community.auth0.com/t/mastodon-social-login/103400 for details. It would help if you contacted Auth0 to let them know that this is a feature people want. |
I've had to authenticate via facebook but I'd much rather have done it via my mastodon account ... Bit of a shame they still don't seem to have a solution for this yet :-( |
I am working on this. The problem is that each Mastodon instance requires their own API key. So I either need several thousand integrations or I can just pick one or two popular instances. If you know of any site which has a generic "Sign In With Mastodon" service - please let me know. Then I can try and work out how they've done it. |
https://pixelfed.blog/p/2023/feature/introducing-sign-in-with-mastodon-streamlining-sign-up-and-login-on-pixelfed appears to offer generic 'sign in with Mastodon' for their app, if that helps. |
The Mastodon Socialite plugin has code for doing the oAuth connection but expects you to have already registered as an app with the single Mastodon server to obtain the The way I have written this in the past is by having a table for storing client key, secret and instance url, if someone tried logging in via mastodon it asks for their instance url, if not already existing in that table the login request uses the Mastodon api to register with the instance as an app with limited scope, then continues with oAuth authentication as normal. This allows you to support all Mastodon instances (and others that implement the Mastodon API) without having to first preconfigure anything. |
OK! You can preview logging in with Mastodon (and GoToSocial) at https://openbenches.org/mastodon_login Please let me know if it works or breaks. Once I'm happy with it, I'll add it to the list of Auth0 login providers. Known bugs:
|
Can we add our Mastodon addresses to our profile so we may be tagged with a hyperlink in a similar way to what happens currently on T*****r
Currently the messages just have static text with something like "℅ MapSpot on github
CC BY-SA 4.0"
BTW I am https://mastodon.online/@back_ache
The text was updated successfully, but these errors were encountered: