Welcome to the Kinde community.

P
K
A
A
A

React app sending token to python flask backend for authentication

Hello, I am looking to have my FE in React and a Python Flask backend but struggling to understand how auth will work with Kinde.

Does the React front end login and then send token to the Python backend ? Am really not sure at all as examples I have seen show login functionality on the Backend API as well which just leaves me confused.

A
D
B
6 comments

lol, exactly the same as me, and i've set Kinde up before!

But with AppSync, so not sure how this works

Hi

Which SDK are you using for auth?

Still to start. My understanding is that there is a React SDK for the frontend which is fine. But on the BE I don't know if I should be using the python sdk or decoding jwt tokens manually or doing something else entirely.

Also not clearly on the Authentication workflow in such a case.

We do have a guide here, https://docs.kinde.com/build/applications/authenticating-spa/

I would recommend using the Python SDK only and not using the React SDK for your setup. You can query the data you need from the Python SDK

Add a reply
Sign up and join the conversation on Slack
Join