Before you start
- Admin access to the Allthenticate admin portal.
- The Admin role on the Grafana Cloud stack.
- Users who will sign in have the Allthenticator app set up.
Configure in Allthenticate
1
Add the service provider
In the admin portal, go to SSO > SAML and select Add Service Provider. Enter
Grafana Cloud as the Provider Name, uncheck Use Metadata File, and enter your stack’s values, replacing <stack> with your stack’s name:Grafana shows both on its Connect Grafana with Identity Provider step as SP metadata URL / SP Entity ID and Assertion consumer service POST binding URL.
2
Add the attributes
Under Custom Attribute Statements, select Add Attribute for each:
3
Save and copy the metadata URL
Select Save, open the service provider from the list, and copy its Entity ID. That URL also serves Allthenticate’s metadata, which Grafana reads in the next section.
Configure in Grafana
In your stack, go to Administration > Authentication and select SAML. The wizard has five steps.1
General settings
Set Display name to
Allthenticate. Leave Entity ID empty to use the default, and leave Allow signup on so people without a Grafana account yet can sign in.2
Sign requests
Leave Sign outgoing requests to IdP off.
3
Connect Grafana with Identity Provider
Under IdP’s metadata, choose URL for metadata and paste Allthenticate’s Entity ID into Metadata URL.
4
User mapping
Check Skip organization role sync. Allthenticate doesn’t send a role attribute, so without this Grafana resets every SAML user’s organization role to the default each time they sign in, including admins.
5
Test and enable
Select Save and enable. The status changes to Enabled. Grafana keeps its other sign-in methods.
Test sign-in
- Open
https://<stack>.grafana.net/login/samlin a private browser window. In a window that is already signed in to Grafana, this page goes straight to Grafana without asking Allthenticate. - Approve the sign-in on your phone.
- You land in Grafana. Grafana matches an existing user by email address, so existing users keep their dashboards and roles.