mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:53:00 +03:00
🐛 Bug Report: 400 error when trying to authorize #487
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 @tiehfood on GitHub.
Reproduction steps
I tried to use Grafana with Pocket ID.

This is my current configuration:
I successfully get redirected to PocketID, but when I try to login I get a 400 error from the backend:

Backend call: https://********************/api/oidc/authorize/new-client
Expected behavior
If I klick on "Sign In" I should successfully be signed in.
Actual Behavior
Backend sends a 400 error and I'm not logged in
@tiehfood commented on GitHub:
Solved
@stonith404 commented on GitHub:
The callback URL is probably wrong. Can you verify that you've entered the correct callback URL in the Pocket ID settings?
@tiehfood commented on GitHub:
Ah, you were right! I needed to configure the
root_urlsetting in Grafana because Grafana is behind a reverse proxy.Thanks! Great tool I really like it so far :)