Closed Kh-Oleg closed 1 year ago
Additional info: the exception fief_client.client.FiefRequestError
happens in the file ./fief/apps/dashboard/routers/auth.py
, method
@router.get("/callback", name="dashboard.auth:callback")
async def callback(.....)
at the line:
tokens, userinfo = await fief.auth_callback(
code, str(request.url_for("dashboard.auth:callback"))
The exception's message is '[400] - {"error":"invalid_grant"}'
Describe the bug
When I try to login to Fief in browser after modifying the Fief's client via Admin REST API, I see "Internal Server Error" in the browser.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A Fief dashboard shall be shown after a successful login.
Configuration
Additional context
Fief doesn't print any call stack to console in this case.