grafana-generic-oauth | Grafana Generic OAuth Authentication | Dashboard library
kandi X-RAY | grafana-generic-oauth Summary
kandi X-RAY | grafana-generic-oauth Summary
This is a simple example of Grafana Generic OAuth implementation and auto login to Grafana dashboard from your application using PHP.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Generate the token .
- Get user information .
- Sets the authentication header .
grafana-generic-oauth Key Features
grafana-generic-oauth Examples and Code Snippets
Community Discussions
Trending Discussions on grafana-generic-oauth
QUESTION
I have an issue with login via OAuth authentication. I'm new in this authentication method. I have iframe where is panel:
it’s look like this:
I followed this guide: and set aplication on: where i set name and Allowed Callback URLs: http://192.168.11.100:83/login/generic_oauth.
Then I followed this: , my grafana.ini look like this:
...ANSWER
Answered 2019-Dec-07 at 16:05I had the same problem because 'email' was not found on api_url result.
- Verify that 'api_url' returns email
- In Grafana Oauth config, try setting 'email_attribute_path' to the proper path. Example: email_attribute_name = user.email
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install grafana-generic-oauth
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page