3rd party SSO integration with Mastodon

I have an existing service, and would like to run Mastodon on a subdomain and make it available to users of that service. We have Single Sign On, and would like the experience to be seamless – any of our users should be able to go to the mastodon instance without having to re-login.

Can this be readily done? And if so is there any documentation?


Mastodon uses component called devise for authentication and there are numerous options there as well as additional plugins for different kinds of authentication providers.

Mastodon configuration of devise starts here: