Control access to BugSnag using Auth0.
To configure access with Auth0 (Organization admin access required):
In your BugSnag dashboard, select Single sign-on from your organization settings (shortcut: g
o
):
In Auth0, create a new application that includes the SAML2 addon.
Paste the URL copied from your BugSnag dashboard in the Application Callback URL field.
In the Settings tab for your application
Add a SAML Attributes mapping Rule to map email addresses to the nameidentifier
field:
function (user, context, callback) {
context.samlConfiguration.mappings = {
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "email",
};
callback(null, user, context);
}
In your BugSnag dashboard:
You can now log in to your dashboard from Auth0.
If a SessionNotOnOrAfter
value is present in the SAML authentication response, it will be used to set the timeout of the BugSnag session.
Please refer to your SSO provider’s documentation for more information on how to configure SessionNotOnOrAfter
.