Is there any way to authenticate repl.it users in React?
MatthewDoan1

Basically the title. I see repl.it auth being used mainly on the server-side, but is there any way to use it on the client-side with ReactJS?

You are viewing a single comment. View All
Coder100

sorry, that is not possible, you will need a backend to parse the header.

MatthewDoan1

@Coder100 Yea, I'm using an Express backend right now, just for an API to connect to a database (Firestore). I don't want to go through all the redirects and stuff because my app is an SPA. is this still possible?