mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:53:00 +03:00
🐛 Bug Report: Grafana 12.0.1 fails to map the user #171
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hadret on GitHub.
Reproduction steps
Login failed: Sign up is disabledExpected behavior
Ideally I would get logged in to my already existing user via Pocket ID OAuth magic.
Actual Behavior
Login fails with message:
Login failed: Sign up is disabled.Version and Environment
Grafana: 12.0.1 (two different instances and environments)
Pocket: 1.2.0
I did test some other software and it worked flawlessly with Memos as one example.
My only/admin user in Grafana has
loginandemailset to the same email I've got for the user in Pocket ID. I did experiment here a bit and tried to also simply useloginmatching myUsernamein Pocket ID, but with the same result.My hunch is that there's something wrong with the scope setup, here's how it looks like for me:
Log Output
@hadret commented on GitHub:
OK, found the solution here: https://community.grafana.com/t/login-failed-oauth/145712
tl;dr set the following in your grafana.ini file: