React example authentication question


#1

Hi!

I’m using the react template for my project and I’m wondering how the authentication is set-up. I see there are some cookies that get sent to the browser but also there are auth tokens. What is being used for what? Thank you!


#2

Hi,

the silhouette-play-react-seed template uses only cookie based authentication! Where do you see token based authentication?

Best regards,
Christian


#3

Hey Akkie,

Sorry for the confusion. I see that in the app there’s authTokens stored in the MongoDB under auth.tokens. What are these?

Thanks :slight_smile:


#4

Hi,

These tokens are used for the password reset functionality. They will be sent in the email.

Best regards,
Christian