itzg / itzg/saml-auth-proxy

Trying it out: Does not access Grafana automatically

Open
#45 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
76
Forks
24
Avg merge
19h 32m
Merged PRs (30d)
3

Description

Bear with me for another "Trying it out" question:
After entering user and password in the SAMLTest's login page (user rick), it redirects to Grafana login page and stops there instead of login into Grafana. I notice that uname is blank.

>>logger=context userId=0 orgId=0 uname= t=2023-01-05T14:38:31.024938104Z level=info msg="Request Completed" method=GET >>path=/ status=302 remote_addr=127.0.0.1 time_ms=8 duration=8.13263ms size=29 referer= handler=/

What's wrong with my setup? Appreciate any hints.

Hendro

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the SAMLTest login redirect into the Grafana login page and compare it with the reported log entry showing an empty uname. Review the proxy's authentication flow and configuration, then reproduce the setup to identify why the Grafana session is not established. Done means the login reaches Grafana automatically with a populated user identity.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, grafana
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.