Replies: 3 comments
-
Hail, @xingster 👋 Welcome to Fief's kingdom! Our team will get back to you very soon to help. In the meantime, take a minute to star our repository ⭐️ Want to support us?Subscribe to one of our paid plan to help us continue our work and receive exclusive information and benefits! Starts at $5/month 🪙 Farewell! |
Beta Was this translation helpful? Give feedback.
-
I would check two things:
|
Beta Was this translation helpful? Give feedback.
-
Thanks! Those two were both correct, but I figured out the issue. It was defaulting PKCE to true during the /authorize request. Once I set it to false I was able to generate the refresh token. |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I have a client developed using Expo, and I used AuthSession to generate the auth code successfully after logging in. However, I'm getting a error "invalid_grant" when trying to exchange the auth code for a refresh token using the /api/token endpoint.
I've checked the data and headers compared to my working auth flow in the backend FastAPI swagger docs, and they look about the same. Also made sure that the redirect uri is configured in the client redirect links on Fief admin portal. I think that the auth code may be incorrect, but I'm not sure how to debug this. Any help would be really appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions