Skip to content
Snippets Groups Projects
Verified Commit ef73fbbd authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

docs(mastodon): Explain SSO enforcement

parent 1a70a929
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,10 @@ Mastodon is the Fediverse software run in the Shivering-Isles infrastructure. It
<iframe src="https://www.youtube-nocookie.com/embed/IPSbNdBmWKE" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
The instance is currently deployed using a [helm chart](../charts/mastodon.md) maintained as part of the GitOps repository.
\ No newline at end of file
The instance is currently deployed using a [helm chart](../charts/mastodon.md) maintained as part of the GitOps repository.
## SSO Enforcement
Since Mastodon itself has no configuration to enforce the presence of specific claims or roles, an oauth-proxy setup in front of the `/auth/` section preventing clients from reaching the callback URL for OIDC authentication, without passing through the oauth2-proxy which can enforce the presence of a role.
While the result in a double redirect to OIDC, once by the oauth2-proxy and once by Mastodon itself, it makes sure that there is proper enforcement of the roles without requiring modification of Mastodon.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment