OmarUsman
KKinde
•Created by OmarUsman on 11/9/2024 in #💻┃support
NextJS Kinde SDK not auto-refreshing tokens
8 replies
KKinde
•Created by OmarUsman on 11/8/2024 in #💻┃support
Logging user out after 30 mins of inactivity
8 replies
KKinde
•Created by OmarUsman on 10/7/2024 in #💻┃support
NextJS + FastAPI
Hi there, I'm working on a project where we have a NextJS frontend which handles login and register on the frontend using the super easy Next SDK. The problem starts to form when we introduce the API that we need to make calls to.
I want to pass the JWT from the frontend over to the API and am doing so in the authorization header. From here I can use the JWK to verify the token, BUT I can't seem to figure out how to fetch additional data from Kinde such as roles, etc.
So my question is, in order to be able to fetch said additional data, would I need to handle all auth on the API side (Preferably do not want to do this 😭) or is there some sort of python SDK I can use to authorize, get roles, and get permissions on the API side using the JWT from the frontend?
32 replies