palooka8300
KKinde
•Created by moroshko on 4/28/2024 in #💻┃support
useKindeAuth isLoading doesn't change to false
Ah sorry I assumed react.
4 replies
KKinde
•Created by moroshko on 4/28/2024 in #💻┃support
useKindeAuth isLoading doesn't change to false
The auth hooks are asynchronous. If you wrap your console.log into a useEffect dependant on isLoading, it should change to false once it’s loaded.
4 replies
KKinde
•Created by Pramus on 4/26/2024 in #💻┃support
Separate login per organization
Ah interesting. That makes sense. Mine is a b2b app so I don’t use their sign up process at all. I’m sure the kinde team will respond but most of them are already into Friday night in Australia
27 replies
KKinde
•Created by Pramus on 4/26/2024 in #💻┃support
Separate login per organization
Out of curiosity where are you seeing this behaviour? Is it on the sign up screen? Because the login flow does not show any organisations for my users if they’re not already members. For my multitenant user registration i use a custom page in my app and use the api to add the user to the organization, after which it shows up in their list when they try log in.
27 replies
KKinde
•Created by iamaman on 4/15/2024 in #💻┃support
How to validate an access token in Python?
I agree, although I guess they’re a startup and don’t have the resources of an auth0 etc. I think I saw something mentioned about community toolkits, and more fleshed out samples, so I suspect it will happen in time. Until then, the team is very active on here and I’m sure they’ll help if you get stuck
15 replies
KKinde
•Created by iamaman on 4/15/2024 in #💻┃support
How to validate an access token in Python?
I agree a working example from kinde would go a long way to explain things!
15 replies
KKinde
•Created by iamaman on 4/15/2024 in #💻┃support
How to validate an access token in Python?
You don’t validate the token using the sdk is at is a standard technology. So use any python library for authenticating jwt tokens. More info on the kinde token and config here. https://kinde.com/docs/developer-tools/using-kinde-without-an-sdk/#verifying-the-kinde-access-token
15 replies
KKinde
•Created by iamaman on 4/15/2024 in #💻┃support
How to validate an access token in Python?
15 replies
KKinde
•Created by iamaman on 4/15/2024 in #💻┃support
How to validate an access token in Python?
I don't use Python and not much next.js, but after the user logs in, you get the access token in your front-end app (getAccessToken is in useKindeAuth), then add that to the authorization header in calls to your API. On the Python side, you validate the JWT token.
15 replies