#auth0 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #auth0, aggregated by home.social.
-
Dew Drop – April 29, 2026 (#4657)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/04/29/dew-drop-april-29-2026-4657/
-
Sécuriser APIs : OAuth 2.0, rate limiting, validation entrées, logging (ELK), tests (OWASP ZAP). Exemple : fuite 2M€. #CyberSécurité #API #Tech #OWASP #Auth0 ... https://www.linkedin.com/posts/gabriel-chandesris_cybersaezcuritaez-api-tech-share-7454442976220508160-CSQm
-
Sécuriser APIs : OAuth 2.0, rate limiting, validation entrées, logging (ELK), tests (OWASP ZAP). Exemple : fuite 2M€. #CyberSécurité #API #Tech #OWASP #Auth0 ... https://www.linkedin.com/posts/gabriel-chandesris_cybersaezcuritaez-api-tech-share-7454442976220508160-CSQm
-
Sécuriser APIs : OAuth 2.0, rate limiting, validation entrées, logging (ELK), tests (OWASP ZAP). Exemple : fuite 2M€. #CyberSécurité #API #Tech #OWASP #Auth0 ... https://www.linkedin.com/posts/gabriel-chandesris_cybersaezcuritaez-api-tech-share-7454442976220508160-CSQm
-
Dew Drop – April 23, 2026 (#4653)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/04/23/dew-drop-april-23-2026-4653/
-
Dew Drop – April 20, 2026 (#4650)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/04/20/dew-drop-april-20-2026-4650/
-
Dew Drop – April 16, 2026 (#4648)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/04/16/dew-drop-april-16-2026-4648/
-
Dew Drop – April 15, 2026 (#4647)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/04/15/dew-drop-april-15-2026-4647/
-
Dew Drop – April 13, 2026 (#4645)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/04/13/dew-drop-april-13-2026-4645/
-
Dew Drop – March 27, 2026 (#4634)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/03/27/dew-drop-march-27-2026-4634/
-
Dew Drop – March 23, 2026 (#4630)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/03/23/dew-drop-march-23-2026-4630/
-
Dew Drop – March 18, 2026 (#4627)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/03/18/dew-drop-march-18-2026-4627/
-
Dew Drop – March 17, 2026 (#4626)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/03/17/dew-drop-march-17-2026-4626/
-
Dew Drop – March 13, 2026 (#4624)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/03/13/dew-drop-march-13-2026-4624/
-
🆕 blog! “Adding "Log In With Mastodon" to Auth0”
I use Auth0 to provide social logins for the OpenBenches website. I don't want to deal with creating user accounts, managing passwords, or anything like that, so Auth0 is perfect for my needs.
There are a wide range of social media logins provided by Auth0 - including the usual suspects like…
👀 Read more: https://shkspr.mobi/blog/2026/03/adding-log-in-with-mastodon-to-auth0/
⸻
#Auth0 #HowTo #mastodon #MastodonAPI #SocialMedia -
🆕 blog! “Adding "Log In With Mastodon" to Auth0”
I use Auth0 to provide social logins for the OpenBenches website. I don't want to deal with creating user accounts, managing passwords, or anything like that, so Auth0 is perfect for my needs.
There are a wide range of social media logins provided by Auth0 - including the usual suspects like…
👀 Read more: https://shkspr.mobi/blog/2026/03/adding-log-in-with-mastodon-to-auth0/
⸻
#Auth0 #HowTo #mastodon #MastodonAPI #SocialMedia -
🆕 blog! “Adding "Log In With Mastodon" to Auth0”
I use Auth0 to provide social logins for the OpenBenches website. I don't want to deal with creating user accounts, managing passwords, or anything like that, so Auth0 is perfect for my needs.
There are a wide range of social media logins provided by Auth0 - including the usual suspects like…
👀 Read more: https://shkspr.mobi/blog/2026/03/adding-log-in-with-mastodon-to-auth0/
⸻
#Auth0 #HowTo #mastodon #MastodonAPI #SocialMedia -
🆕 blog! “Adding "Log In With Mastodon" to Auth0”
I use Auth0 to provide social logins for the OpenBenches website. I don't want to deal with creating user accounts, managing passwords, or anything like that, so Auth0 is perfect for my needs.
There are a wide range of social media logins provided by Auth0 - including the usual suspects like…
👀 Read more: https://shkspr.mobi/blog/2026/03/adding-log-in-with-mastodon-to-auth0/
⸻
#Auth0 #HowTo #mastodon #MastodonAPI #SocialMedia -
🆕 blog! “Adding "Log In With Mastodon" to Auth0”
I use Auth0 to provide social logins for the OpenBenches website. I don't want to deal with creating user accounts, managing passwords, or anything like that, so Auth0 is perfect for my needs.
There are a wide range of social media logins provided by Auth0 - including the usual suspects like…
👀 Read more: https://shkspr.mobi/blog/2026/03/adding-log-in-with-mastodon-to-auth0/
⸻
#Auth0 #HowTo #mastodon #MastodonAPI #SocialMedia -
Adding "Log In With Mastodon" to Auth0
https://shkspr.mobi/blog/2026/03/adding-log-in-with-mastodon-to-auth0/I use Auth0 to provide social logins for the OpenBenches website. I don't want to deal with creating user accounts, managing passwords, or anything like that, so Auth0 is perfect for my needs.
There are a wide range of social media logins provided by Auth0 - including the usual suspects like Facebook, Twitter, WordPress, Discord, etc. Sadly, there's no support for Mastodon0.
All is not lost though. The Auth0 documentation says:
However, you can use Auth0’s Connections API to add any OAuth2 Authorization Server as an identity provider.
You can manually add a single Mastodon instance, but that doesn't work with the decentralised nature of the Fediverse. Instead, I've come up with a manual solution which works with any Mastodon server!
Background
Every Mastodon1 server is independent. I have an account on
mastodon.socialyou have an account onwhatever.chaos. They are separate servers, albeit running similar software. A generic authenticator needs to work with all these servers. There's no point only allowing log ins from a single server.Fortuitously, Mastodon allows app developers to automatically create new apps. A few simple lines of code and you will have an API key suitable for read-only access to that server. You can read how to instantly create Mastodon API keys or you can steal my PHP code.
User Experience
The user clicks the sign-in button on OpenBenches. They're taken to the Auth0 social login screen:
The user clicks on Mastodon. This is where Auth0's involvement ends!
The user is asked to provide the URl of their instance:
In the background, my server contacts the Mastodon instance and creates a read-only API key.
The user is asked to sign in to Mastodon.
The user is asked to authorise read-only access.
The user is now signed in and OpenBenches can retrieve their name, avatar image, and other useful information. Hurrah!
Auth0
Once you have created a service to generate API keys, it will need to run on a publicly accessible web server. For example
https://example.com/mastodon_login.Here's what you need to do within your Auth0 tennant:
- Authentication → Social → Create Connection
- At the bottom, choose "Create Custom".
- Choose "Authentication" only.
- Give your connection a name. This will be visible to users.
- "Authorization URL" and "Token URL" have the same value - the URl of your service.
- "Client ID" is only visible to you.
- "Client Secret" any random password; it won't be used for anything.
- Leave everything else in the default state.
It should look something like this:
Click the "Create" button and you're (almost) done.
Auth0 Icon
You will need to add a custom icon to the social integration. Annoyingly, there's no way to do it through the web interface, so follow that guide to use the command line.
Done!
I'll admit, this isn't the most straightforward thing to implement. Auth0 could make this easier - but it would still rely on users knowing the URl of their home instance.
That said, the Mastodon API is a delight to work with and the read-only permissions reduce risk for all parties.
Auth0 did blog about Mastodon a few years ago but never bothered implementing it! ↩︎
I do mean Mastodon; not the wider Fediverse. This only works with sites which have implemented Mastodon's APIs. ↩︎
-
Adding "Log In With Mastodon" to Auth0
https://shkspr.mobi/blog/2026/03/adding-log-in-with-mastodon-to-auth0/I use Auth0 to provide social logins for the OpenBenches website. I don't want to deal with creating user accounts, managing passwords, or anything like that, so Auth0 is perfect for my needs.
There are a wide range of social media logins provided by Auth0 - including the usual suspects like Facebook, Twitter, WordPress, Discord, etc. Sadly, there's no support for Mastodon0.
All is not lost though. The Auth0 documentation says:
However, you can use Auth0’s Connections API to add any OAuth2 Authorization Server as an identity provider.
You can manually add a single Mastodon instance, but that doesn't work with the decentralised nature of the Fediverse. Instead, I've come up with a manual solution which works with any Mastodon server!
Background
Every Mastodon1 server is independent. I have an account on
mastodon.socialyou have an account onwhatever.chaos. They are separate servers, albeit running similar software. A generic authenticator needs to work with all these servers. There's no point only allowing log ins from a single server.Fortuitously, Mastodon allows app developers to automatically create new apps. A few simple lines of code and you will have an API key suitable for read-only access to that server. You can read how to instantly create Mastodon API keys or you can steal my PHP code.
User Experience
The user clicks the sign-in button on OpenBenches. They're taken to the Auth0 social login screen:
The user clicks on Mastodon. This is where Auth0's involvement ends!
The user is asked to provide the URl of their instance:
In the background, my server contacts the Mastodon instance and creates a read-only API key.
The user is asked to sign in to Mastodon.
The user is asked to authorise read-only access.
The user is now signed in and OpenBenches can retrieve their name, avatar image, and other useful information. Hurrah!
Auth0
Once you have created a service to generate API keys, it will need to run on a publicly accessible web server. For example
https://example.com/mastodon_login.Here's what you need to do within your Auth0 tennant:
- Authentication → Social → Create Connection
- At the bottom, choose "Create Custom".
- Choose "Authentication" only.
- Give your connection a name. This will be visible to users.
- "Authorization URL" and "Token URL" have the same value - the URl of your service.
- "Client ID" is only visible to you.
- "Client Secret" any random password; it won't be used for anything.
- Leave everything else in the default state.
It should look something like this:
Click the "Create" button and you're (almost) done.
Auth0 Icon
You will need to add a custom icon to the social integration. Annoyingly, there's no way to do it through the web interface, so follow that guide to use the command line.
Done!
I'll admit, this isn't the most straightforward thing to implement. Auth0 could make this easier - but it would still rely on users knowing the URl of their home instance.
That said, the Mastodon API is a delight to work with and the read-only permissions reduce risk for all parties.
Auth0 did blog about Mastodon a few years ago but never bothered implementing it! ↩︎
I do mean Mastodon; not the wider Fediverse. This only works with sites which have implemented Mastodon's APIs. ↩︎
-
Adding "Log In With Mastodon" to Auth0
https://shkspr.mobi/blog/2026/03/adding-log-in-with-mastodon-to-auth0/I use Auth0 to provide social logins for the OpenBenches website. I don't want to deal with creating user accounts, managing passwords, or anything like that, so Auth0 is perfect for my needs.
There are a wide range of social media logins provided by Auth0 - including the usual suspects like Facebook, Twitter, WordPress, Discord, etc. Sadly, there's no support for Mastodon0.
All is not lost though. The Auth0 documentation says:
However, you can use Auth0’s Connections API to add any OAuth2 Authorization Server as an identity provider.
You can manually add a single Mastodon instance, but that doesn't work with the decentralised nature of the Fediverse. Instead, I've come up with a manual solution which works with any Mastodon server!
Background
Every Mastodon1 server is independent. I have an account on
mastodon.socialyou have an account onwhatever.chaos. They are separate servers, albeit running similar software. A generic authenticator needs to work with all these servers. There's no point only allowing log ins from a single server.Fortuitously, Mastodon allows app developers to automatically create new apps. A few simple lines of code and you will have an API key suitable for read-only access to that server. You can read how to instantly create Mastodon API keys or you can steal my PHP code.
User Experience
The user clicks the sign-in button on OpenBenches. They're taken to the Auth0 social login screen:
The user clicks on Mastodon. This is where Auth0's involvement ends!
The user is asked to provide the URl of their instance:
In the background, my server contacts the Mastodon instance and creates a read-only API key.
The user is asked to sign in to Mastodon.
The user is asked to authorise read-only access.
The user is now signed in and OpenBenches can retrieve their name, avatar image, and other useful information. Hurrah!
Auth0
Once you have created a service to generate API keys, it will need to run on a publicly accessible web server. For example
https://example.com/mastodon_login.Here's what you need to do within your Auth0 tennant:
- Authentication → Social → Create Connection
- At the bottom, choose "Create Custom".
- Choose "Authentication" only.
- Give your connection a name. This will be visible to users.
- "Authorization URL" and "Token URL" have the same value - the URl of your service.
- "Client ID" is only visible to you.
- "Client Secret" any random password; it won't be used for anything.
- Leave everything else in the default state.
It should look something like this:
Click the "Create" button and you're (almost) done.
Auth0 Icon
You will need to add a custom icon to the social integration. Annoyingly, there's no way to do it through the web interface, so follow that guide to use the command line.
Done!
I'll admit, this isn't the most straightforward thing to implement. Auth0 could make this easier - but it would still rely on users knowing the URl of their home instance.
That said, the Mastodon API is a delight to work with and the read-only permissions reduce risk for all parties.
Auth0 did blog about Mastodon a few years ago but never bothered implementing it! ↩︎
I do mean Mastodon; not the wider Fediverse. This only works with sites which have implemented Mastodon's APIs. ↩︎
-
Adding "Log In With Mastodon" to Auth0
https://shkspr.mobi/blog/2026/03/adding-log-in-with-mastodon-to-auth0/I use Auth0 to provide social logins for the OpenBenches website. I don't want to deal with creating user accounts, managing passwords, or anything like that, so Auth0 is perfect for my needs.
There are a wide range of social media logins provided by Auth0 - including the usual suspects like Facebook, Twitter, WordPress, Discord, etc. Sadly, there's no support for Mastodon0.
All is not lost though. The Auth0 documentation says:
However, you can use Auth0’s Connections API to add any OAuth2 Authorization Server as an identity provider.
You can manually add a single Mastodon instance, but that doesn't work with the decentralised nature of the Fediverse. Instead, I've come up with a manual solution which works with any Mastodon server!
Background
Every Mastodon1 server is independent. I have an account on
mastodon.socialyou have an account onwhatever.chaos. They are separate servers, albeit running similar software. A generic authenticator needs to work with all these servers. There's no point only allowing log ins from a single server.Fortuitously, Mastodon allows app developers to automatically create new apps. A few simple lines of code and you will have an API key suitable for read-only access to that server. You can read how to instantly create Mastodon API keys or you can steal my PHP code.
User Experience
The user clicks the sign-in button on OpenBenches. They're taken to the Auth0 social login screen:
The user clicks on Mastodon. This is where Auth0's involvement ends!
The user is asked to provide the URl of their instance:
In the background, my server contacts the Mastodon instance and creates a read-only API key.
The user is asked to sign in to Mastodon.
The user is asked to authorise read-only access.
The user is now signed in and OpenBenches can retrieve their name, avatar image, and other useful information. Hurrah!
Auth0
Once you have created a service to generate API keys, it will need to run on a publicly accessible web server. For example
https://example.com/mastodon_login.Here's what you need to do within your Auth0 tennant:
- Authentication → Social → Create Connection
- At the bottom, choose "Create Custom".
- Choose "Authentication" only.
- Give your connection a name. This will be visible to users.
- "Authorization URL" and "Token URL" have the same value - the URl of your service.
- "Client ID" is only visible to you.
- "Client Secret" any random password; it won't be used for anything.
- Leave everything else in the default state.
It should look something like this:
Click the "Create" button and you're (almost) done.
Auth0 Icon
You will need to add a custom icon to the social integration. Annoyingly, there's no way to do it through the web interface, so follow that guide to use the command line.
Done!
I'll admit, this isn't the most straightforward thing to implement. Auth0 could make this easier - but it would still rely on users knowing the URl of their home instance.
That said, the Mastodon API is a delight to work with and the read-only permissions reduce risk for all parties.
Auth0 did blog about Mastodon a few years ago but never bothered implementing it! ↩︎
I do mean Mastodon; not the wider Fediverse. This only works with sites which have implemented Mastodon's APIs. ↩︎
-
Adding "Log In With Mastodon" to Auth0
https://shkspr.mobi/blog/2026/03/adding-log-in-with-mastodon-to-auth0/I use Auth0 to provide social logins for the OpenBenches website. I don't want to deal with creating user accounts, managing passwords, or anything like that, so Auth0 is perfect for my needs.
There are a wide range of social media logins provided by Auth0 - including the usual suspects like Facebook, Twitter, WordPress, Discord, etc. Sadly, there's no support for Mastodon0.
All is not lost though. The Auth0 documentation says:
However, you can use Auth0’s Connections API to add any OAuth2 Authorization Server as an identity provider.
You can manually add a single Mastodon instance, but that doesn't work with the decentralised nature of the Fediverse. Instead, I've come up with a manual solution which works with any Mastodon server!
Background
Every Mastodon1 server is independent. I have an account on
mastodon.socialyou have an account onwhatever.chaos. They are separate servers, albeit running similar software. A generic authenticator needs to work with all these servers. There's no point only allowing log ins from a single server.Fortuitously, Mastodon allows app developers to automatically create new apps. A few simple lines of code and you will have an API key suitable for read-only access to that server. You can read how to instantly create Mastodon API keys or you can steal my PHP code.
User Experience
The user clicks the sign-in button on OpenBenches. They're taken to the Auth0 social login screen:
The user clicks on Mastodon. This is where Auth0's involvement ends!
The user is asked to provide the URl of their instance:
In the background, my server contacts the Mastodon instance and creates a read-only API key.
The user is asked to sign in to Mastodon.
The user is asked to authorise read-only access.
The user is now signed in and OpenBenches can retrieve their name, avatar image, and other useful information. Hurrah!
Auth0
Once you have created a service to generate API keys, it will need to run on a publicly accessible web server. For example
https://example.com/mastodon_login.Here's what you need to do within your Auth0 tennant:
- Authentication → Social → Create Connection
- At the bottom, choose "Create Custom".
- Choose "Authentication" only.
- Give your connection a name. This will be visible to users.
- "Authorization URL" and "Token URL" have the same value - the URl of your service.
- "Client ID" is only visible to you.
- "Client Secret" any random password; it won't be used for anything.
- Leave everything else in the default state.
It should look something like this:
Click the "Create" button and you're (almost) done.
Auth0 Icon
You will need to add a custom icon to the social integration. Annoyingly, there's no way to do it through the web interface, so follow that guide to use the command line.
Done!
I'll admit, this isn't the most straightforward thing to implement. Auth0 could make this easier - but it would still rely on users knowing the URl of their home instance.
That said, the Mastodon API is a delight to work with and the read-only permissions reduce risk for all parties.
Auth0 did blog about Mastodon a few years ago but never bothered implementing it! ↩︎
I do mean Mastodon; not the wider Fediverse. This only works with sites which have implemented Mastodon's APIs. ↩︎
-
If you'd like to see more "Log In With BlueSky" options as you browse the web, please upvote this suggestions on #Auth0 community.auth0.com/t/bluesky-as...
BlueSky as a Social Connection -
If you'd like to see more "Log In With BlueSky" options as you browse the web, please upvote this suggestions on #Auth0 community.auth0.com/t/bluesky-as...
BlueSky as a Social Connection -
🆕 blog! “Adding OpenStreetMap login to Auth0”
So you want to add OSM as an OAuth provider to Auth0? Here's a tip - you do not want to create a custom social connection!
Instead, you need to create an "OpenID Connect" provider. Here's how.
OpenSteetMap
As per the OAuth documentation you will need to:
Register a new app at…
👀 Read more: https://shkspr.mobi/blog/2026/02/adding-openstreetmap-login-to-auth0/
⸻
#Auth0 #developers #oauth #OpenStreetMap -
🆕 blog! “Adding OpenStreetMap login to Auth0”
So you want to add OSM as an OAuth provider to Auth0? Here's a tip - you do not want to create a custom social connection!
Instead, you need to create an "OpenID Connect" provider. Here's how.
OpenSteetMap
As per the OAuth documentation you will need to:
Register a new app at…
👀 Read more: https://shkspr.mobi/blog/2026/02/adding-openstreetmap-login-to-auth0/
⸻
#Auth0 #developers #oauth #OpenStreetMap -
🆕 blog! “Adding OpenStreetMap login to Auth0”
So you want to add OSM as an OAuth provider to Auth0? Here's a tip - you do not want to create a custom social connection!
Instead, you need to create an "OpenID Connect" provider. Here's how.
OpenSteetMap
As per the OAuth documentation you will need to:
Register a new app at…
👀 Read more: https://shkspr.mobi/blog/2026/02/adding-openstreetmap-login-to-auth0/
⸻
#Auth0 #developers #oauth #OpenStreetMap -
🆕 blog! “Adding OpenStreetMap login to Auth0”
So you want to add OSM as an OAuth provider to Auth0? Here's a tip - you do not want to create a custom social connection!
Instead, you need to create an "OpenID Connect" provider. Here's how.
OpenSteetMap
As per the OAuth documentation you will need to:
Register a new app at…
👀 Read more: https://shkspr.mobi/blog/2026/02/adding-openstreetmap-login-to-auth0/
⸻
#Auth0 #developers #oauth #OpenStreetMap -
🆕 blog! “Adding OpenStreetMap login to Auth0”
So you want to add OSM as an OAuth provider to Auth0? Here's a tip - you do not want to create a custom social connection!
Instead, you need to create an "OpenID Connect" provider. Here's how.
OpenSteetMap
As per the OAuth documentation you will need to:
Register a new app at…
👀 Read more: https://shkspr.mobi/blog/2026/02/adding-openstreetmap-login-to-auth0/
⸻
#Auth0 #developers #oauth #OpenStreetMap -
Adding OpenStreetMap login to Auth0
https://shkspr.mobi/blog/2026/02/adding-openstreetmap-login-to-auth0/So you want to add OSM as an OAuth provider to Auth0? Here's a tip - you do not want to create a custom social connection!
Instead, you need to create an "OpenID Connect" provider. Here's how.
OpenSteetMap
As per the OAuth documentation you will need to:
- Register a new app at https://www.openstreetmap.org/oauth2/applications/
- Give it a name that users will recognise
- Give it a redirect of
https://Your Auth0 Tenant.eu.auth0.com/login/callback - Tick the box for "Sign in using OpenStreetMap"
Once created, you will need to securely save your Client ID and Client Secret.
Auth0
These options change frequently, so use this guide with care.
- Once you have logged in to your Auth0 Tennant, go to Authentication → Enterprise → OpenID Connect → Create Connection
- Provide the new connection with the Client ID and Client Secret
- Set the "scope" to be
openid - Set the OpenID Connect Discovery URL to be
https://www.openstreetmap.org/.well-known/openid-configuration - In the "Login Experience" tick the box for "Display connection as a button"
- Set the favicon to be
https://blog.openstreetmap.org/wp-content/uploads/2022/07/osm-favicon.pngor other suitable graphic
Next Steps
We're not quite done, sadly.
The details which OSM sends back to Auth0 are limited, so Auth0 is missing a few bits:
{ "created_at": "2026-02-29T12:34:56.772Z", "identities": [ { "user_id": "openstreetmap-openid|123456", "provider": "oidc", "connection": "openstreetmap-openid", "isSocial": false } ], "name": "", "nickname": "", "picture": "https://cdn.auth0.com/avatars/default.png", "preferred_username": "Terence Eden", "updated_at": "2026-02-04T12:01:33.772Z", "user_id": "oidc|openstreetmap-openid|123456", "last_ip": "12.34.56.78", "last_login": "2026-02-29T12:34:56.772Z", "logins_count": 1, "blocked_for": [], "guardian_authenticators": [], "passkeys": [] }Annoyingly, Auth0 doesn't set a name or nickname - so you'll need to manually get the
preferred_username, or create a "User Map":{ "mapping_mode": "use_map", "attributes": { "nickname": "${context.tokenset.preferred_username}", "name": "${context.tokenset.preferred_username}" } }There's also no avatar image - only the default one.
Getting the Avatar Image
The OSM API has a method for getting user data.
For example, here's all my public data: https://api.openstreetmap.org/api/0.6/user/98672.json - thankfully no authorisation required!
{ "user": { "id": 98672, "display_name": "Terence Eden", "img": { "href": "https://www.gravatar.com/avatar/52cb49a66755f31abf4df9a6549f0f9c.jpg?s=100&d=https%3A%2F%2Fapi.openstreetmap.org%2Fassets%2Favatar_large-54d681ddaf47c4181b05dbfae378dc0201b393bbad3ff0e68143c3d5f3880ace.png" } } }Alternatively, you can use the Unavatar service to get the image indirectly.
I hope that's helpful to someone!
#Auth0 #developers #oauth #OpenStreetMap -
Adding OpenStreetMap login to Auth0
https://shkspr.mobi/blog/2026/02/adding-openstreetmap-login-to-auth0/So you want to add OSM as an OAuth provider to Auth0? Here's a tip - you do not want to create a custom social connection!
Instead, you need to create an "OpenID Connect" provider. Here's how.
OpenSteetMap
As per the OAuth documentation you will need to:
- Register a new app at https://www.openstreetmap.org/oauth2/applications/
- Give it a name that users will recognise
- Give it a redirect of
https://Your Auth0 Tenant.eu.auth0.com/login/callback - Tick the box for "Sign in using OpenStreetMap"
Once created, you will need to securely save your Client ID and Client Secret.
Auth0
These options change frequently, so use this guide with care.
- Once you have logged in to your Auth0 Tennant, go to Authentication → Enterprise → OpenID Connect → Create Connection
- Provide the new connection with the Client ID and Client Secret
- Set the "scope" to be
openid - Set the OpenID Connect Discovery URL to be
https://www.openstreetmap.org/.well-known/openid-configuration - In the "Login Experience" tick the box for "Display connection as a button"
- Set the favicon to be
https://blog.openstreetmap.org/wp-content/uploads/2022/07/osm-favicon.pngor other suitable graphic
Next Steps
We're not quite done, sadly.
The details which OSM sends back to Auth0 are limited, so Auth0 is missing a few bits:
JSON
{ "created_at": "2026-02-29T12:34:56.772Z", "identities": [ { "user_id": "openstreetmap-openid|123456", "provider": "oidc", "connection": "openstreetmap-openid", "isSocial": false } ], "name": "", "nickname": "", "picture": "https://cdn.auth0.com/avatars/default.png", "preferred_username": "Terence Eden", "updated_at": "2026-02-04T12:01:33.772Z", "user_id": "oidc|openstreetmap-openid|123456", "last_ip": "12.34.56.78", "last_login": "2026-02-29T12:34:56.772Z", "logins_count": 1, "blocked_for": [], "guardian_authenticators": [], "passkeys": []}Annoyingly, Auth0 doesn't set a name or nickname - so you'll need to manually get the
preferred_username, or create a "User Map":JSON
{ "mapping_mode": "use_map", "attributes": { "nickname": "${context.tokenset.preferred_username}", "name": "${context.tokenset.preferred_username}" }}There's also no avatar image - only the default one.
Getting the Avatar Image
The OSM API has a method for getting user data.
For example, here's all my public data: https://api.openstreetmap.org/api/0.6/user/98672.json - thankfully no authorisation required!
JSON
{ "user": { "id": 98672, "display_name": "Terence Eden", "img": { "href": "https://www.gravatar.com/avatar/52cb49a66755f31abf4df9a6549f0f9c.jpg?s=100&d=https%3A%2F%2Fapi.openstreetmap.org%2Fassets%2Favatar_large-54d681ddaf47c4181b05dbfae378dc0201b393bbad3ff0e68143c3d5f3880ace.png" } }}Alternatively, you can use the Unavatar service to get the image indirectly.
I hope that's helpful to someone!
#Auth0 #developers #oauth #OpenStreetMap -
Adding OpenStreetMap login to Auth0
https://shkspr.mobi/blog/2026/02/adding-openstreetmap-login-to-auth0/So you want to add OSM as an OAuth provider to Auth0? Here's a tip - you do not want to create a custom social connection!
Instead, you need to create an "OpenID Connect" provider. Here's how.
OpenSteetMap
As per the OAuth documentation you will need to:
- Register a new app at https://www.openstreetmap.org/oauth2/applications/
- Give it a name that users will recognise
- Give it a redirect of
https://Your Auth0 Tenant.eu.auth0.com/login/callback - Tick the box for "Sign in using OpenStreetMap"
Once created, you will need to securely save your Client ID and Client Secret.
Auth0
These options change frequently, so use this guide with care.
- Once you have logged in to your Auth0 Tennant, go to Authentication → Enterprise → OpenID Connect → Create Connection
- Provide the new connection with the Client ID and Client Secret
- Set the "scope" to be
openid - Set the OpenID Connect Discovery URL to be
https://www.openstreetmap.org/.well-known/openid-configuration - In the "Login Experience" tick the box for "Display connection as a button"
- Set the favicon to be
https://blog.openstreetmap.org/wp-content/uploads/2022/07/osm-favicon.pngor other suitable graphic
Next Steps
We're not quite done, sadly.
The details which OSM sends back to Auth0 are limited, so Auth0 is missing a few bits:
{ "created_at": "2026-02-29T12:34:56.772Z", "identities": [ { "user_id": "openstreetmap-openid|123456", "provider": "oidc", "connection": "openstreetmap-openid", "isSocial": false } ], "name": "", "nickname": "", "picture": "https://cdn.auth0.com/avatars/default.png", "preferred_username": "Terence Eden", "updated_at": "2026-02-04T12:01:33.772Z", "user_id": "oidc|openstreetmap-openid|123456", "last_ip": "12.34.56.78", "last_login": "2026-02-29T12:34:56.772Z", "logins_count": 1, "blocked_for": [], "guardian_authenticators": [], "passkeys": [] }Annoyingly, Auth0 doesn't set a name or nickname - so you'll need to manually get the
preferred_username, or create a "User Map":{ "mapping_mode": "use_map", "attributes": { "nickname": "${context.tokenset.preferred_username}", "name": "${context.tokenset.preferred_username}" } }There's also no avatar image - only the default one.
Getting the Avatar Image
The OSM API has a method for getting user data.
For example, here's all my public data: https://api.openstreetmap.org/api/0.6/user/98672.json - thankfully no authorisation required!
{ "user": { "id": 98672, "display_name": "Terence Eden", "img": { "href": "https://www.gravatar.com/avatar/52cb49a66755f31abf4df9a6549f0f9c.jpg?s=100&d=https%3A%2F%2Fapi.openstreetmap.org%2Fassets%2Favatar_large-54d681ddaf47c4181b05dbfae378dc0201b393bbad3ff0e68143c3d5f3880ace.png" } } }Alternatively, you can use the Unavatar service to get the image indirectly.
I hope that's helpful to someone!
#Auth0 #developers #oauth #OpenStreetMap -
Adding OpenStreetMap login to Auth0
https://shkspr.mobi/blog/2026/02/adding-openstreetmap-login-to-auth0/So you want to add OSM as an OAuth provider to Auth0? Here's a tip - you do not want to create a custom social connection!
Instead, you need to create an "OpenID Connect" provider. Here's how.
OpenSteetMap
As per the OAuth documentation you will need to:
- Register a new app at https://www.openstreetmap.org/oauth2/applications/
- Give it a name that users will recognise
- Give it a redirect of
https://Your Auth0 Tenant.eu.auth0.com/login/callback - Tick the box for "Sign in using OpenStreetMap"
Once created, you will need to securely save your Client ID and Client Secret.
Auth0
These options change frequently, so use this guide with care.
- Once you have logged in to your Auth0 Tennant, go to Authentication → Enterprise → OpenID Connect → Create Connection
- Provide the new connection with the Client ID and Client Secret
- Set the "scope" to be
openid - Set the OpenID Connect Discovery URL to be
https://www.openstreetmap.org/.well-known/openid-configuration - In the "Login Experience" tick the box for "Display connection as a button"
- Set the favicon to be
https://blog.openstreetmap.org/wp-content/uploads/2022/07/osm-favicon.pngor other suitable graphic
Next Steps
We're not quite done, sadly.
The details which OSM sends back to Auth0 are limited, so Auth0 is missing a few bits:
{ "created_at": "2026-02-29T12:34:56.772Z", "identities": [ { "user_id": "openstreetmap-openid|123456", "provider": "oidc", "connection": "openstreetmap-openid", "isSocial": false } ], "name": "", "nickname": "", "picture": "https://cdn.auth0.com/avatars/default.png", "preferred_username": "Terence Eden", "updated_at": "2026-02-04T12:01:33.772Z", "user_id": "oidc|openstreetmap-openid|123456", "last_ip": "12.34.56.78", "last_login": "2026-02-29T12:34:56.772Z", "logins_count": 1, "blocked_for": [], "guardian_authenticators": [], "passkeys": [] }Annoyingly, Auth0 doesn't set a name or nickname - so you'll need to manually get the
preferred_username, or create a "User Map":{ "mapping_mode": "use_map", "attributes": { "nickname": "${context.tokenset.preferred_username}", "name": "${context.tokenset.preferred_username}" } }There's also no avatar image - only the default one.
Getting the Avatar Image
The OSM API has a method for getting user data.
For example, here's all my public data: https://api.openstreetmap.org/api/0.6/user/98672.json - thankfully no authorisation required!
{ "user": { "id": 98672, "display_name": "Terence Eden", "img": { "href": "https://www.gravatar.com/avatar/52cb49a66755f31abf4df9a6549f0f9c.jpg?s=100&d=https%3A%2F%2Fapi.openstreetmap.org%2Fassets%2Favatar_large-54d681ddaf47c4181b05dbfae378dc0201b393bbad3ff0e68143c3d5f3880ace.png" } } }Alternatively, you can use the Unavatar service to get the image indirectly.
I hope that's helpful to someone!
#Auth0 #developers #oauth #OpenStreetMap -
Adding OpenStreetMap login to Auth0
https://shkspr.mobi/blog/2026/02/adding-openstreetmap-login-to-auth0/So you want to add OSM as an OAuth provider to Auth0? Here's a tip - you do not want to create a custom social connection!
Instead, you need to create an "OpenID Connect" provider. Here's how.
OpenSteetMap
As per the OAuth documentation you will need to:
- Register a new app at https://www.openstreetmap.org/oauth2/applications/
- Give it a name that users will recognise
- Give it a redirect of
https://Your Auth0 Tenant.eu.auth0.com/login/callback - Tick the box for "Sign in using OpenStreetMap"
Once created, you will need to securely save your Client ID and Client Secret.
Auth0
These options change frequently, so use this guide with care.
- Once you have logged in to your Auth0 Tennant, go to Authentication → Enterprise → OpenID Connect → Create Connection
- Provide the new connection with the Client ID and Client Secret
- Set the "scope" to be
openid - Set the OpenID Connect Discovery URL to be
https://www.openstreetmap.org/.well-known/openid-configuration - In the "Login Experience" tick the box for "Display connection as a button"
- Set the favicon to be
https://blog.openstreetmap.org/wp-content/uploads/2022/07/osm-favicon.pngor other suitable graphic
Next Steps
We're not quite done, sadly.
The details which OSM sends back to Auth0 are limited, so Auth0 is missing a few bits:
{ "created_at": "2026-02-29T12:34:56.772Z", "identities": [ { "user_id": "openstreetmap-openid|123456", "provider": "oidc", "connection": "openstreetmap-openid", "isSocial": false } ], "name": "", "nickname": "", "picture": "https://cdn.auth0.com/avatars/default.png", "preferred_username": "Terence Eden", "updated_at": "2026-02-04T12:01:33.772Z", "user_id": "oidc|openstreetmap-openid|123456", "last_ip": "12.34.56.78", "last_login": "2026-02-29T12:34:56.772Z", "logins_count": 1, "blocked_for": [], "guardian_authenticators": [], "passkeys": [] }Annoyingly, Auth0 doesn't set a name or nickname - so you'll need to manually get the
preferred_username, or create a "User Map":{ "mapping_mode": "use_map", "attributes": { "nickname": "${context.tokenset.preferred_username}", "name": "${context.tokenset.preferred_username}" } }There's also no avatar image - only the default one.
Getting the Avatar Image
The OSM API has a method for getting user data.
For example, here's all my public data: https://api.openstreetmap.org/api/0.6/user/98672.json - thankfully no authorisation required!
{ "user": { "id": 98672, "display_name": "Terence Eden", "img": { "href": "https://www.gravatar.com/avatar/52cb49a66755f31abf4df9a6549f0f9c.jpg?s=100&d=https%3A%2F%2Fapi.openstreetmap.org%2Fassets%2Favatar_large-54d681ddaf47c4181b05dbfae378dc0201b393bbad3ff0e68143c3d5f3880ace.png" } } }Alternatively, you can use the Unavatar service to get the image indirectly.
I hope that's helpful to someone!
#Auth0 #developers #oauth #OpenStreetMap -
Dew Drop – February 23, 2026 (#4610)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/02/23/dew-drop-february-23-2026-4610/
-
Dew Drop – February 18, 2026 (#4607)
https://fed.brid.gy/r/https://alvinashcraft.com/2026/02/18/dew-drop-february-18-2026-4607/
-
I think I've cracked it!
Using #OpenStreetMap as a custom OIDC provider in #Auth0. Which means people can log in to OpenBenches with their #OSM credentials via OAuth.
If you'd like to test it, please visit https://openbenches.org/login
(You don't need to upload a photo.)
-
I think I've cracked it!
Using #OpenStreetMap as a custom OIDC provider in #Auth0. Which means people can log in to OpenBenches with their #OSM credentials via OAuth.
If you'd like to test it, please visit https://openbenches.org/login
(You don't need to upload a photo.)
-
I think I've cracked it!
Using #OpenStreetMap as a custom OIDC provider in #Auth0. Which means people can log in to OpenBenches with their #OSM credentials via OAuth.
If you'd like to test it, please visit https://openbenches.org/login
(You don't need to upload a photo.)
-
I think I've cracked it!
Using #OpenStreetMap as a custom OIDC provider in #Auth0. Which means people can log in to OpenBenches with their #OSM credentials via OAuth.
If you'd like to test it, please visit https://openbenches.org/login
(You don't need to upload a photo.)