1 Answer
- Newest
- Most votes
- Most comments
0
I have recently solved this with the help of AWS.
follow instructions below:
- Copy Grafana SAML info
- Access your Grafana workspace config, authentication, SAML configuration
- Copy the values for Service provider identifier (Entity ID) and Service provider reply URL (Assertion consumer service URL)
Configure Auth0 application
- In Auth0 dashboard, go into Applications, Applications, Create application
- Regular Web Applications
- Addons
- Saml2 Web App
- Settings
- Application Callback URL: paste your Service provider reply URL (Assertion consumer service URL)
- Settings: see below
- Scroll down and select Enable
- Close the addon config
- Back in application config, click in Settings
- Scroll down and expand Advanced Settings
- Endpoints
- Copy SAML Metadata URL
Update Grafana SAML config
- Back in Grafana workspace config, authentication, SAML configuration
- In Metadata URL, paste the SAML Metadata URL
- In Assertion attribute role, insert role
- In admin role values, insert admin
- Click Save SAML configuration
Add user in Auth0
- In auth0, go to User Management, Users
- Create an user informing a valid email address and a password
- After creating, click in the user name to see user details
- Scroll down and insert the app_metadata as below
SAML2 Addon settings:
{ "audience": "Service provider identifier (Entity ID)", "mappings": { "email": "mail", "name": "displayName", "role": "role" } }
**App_metadata **(change admin to editor or viewer when needed):
{ "role": "admin" }
answered a year ago
Relevant content
- asked 2 years ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 20 days ago