Hi
I am quit new to Auth0. So this is probably a very silly and simple question but I am not figuring out how to solve this.
I have a react spa
Which is calling a backend API where endpoints are protected by Auth0
When a user is using the spa, he is not forced to login. In that case, we assume he is working as a ‘public’ or ‘guest’ user. He can only see info which is available for public/guest users.
But after he logs in, he will get some extra features in the app and is able to consult some personalized info.
So I figured out how to use the SDK to provide a login screen using the PKCE flow. The API gets the authorization code and I 'm able to see which user is signed in.
But, what with the guest/public user. Is there a way to get an authorization code for a so called guest/public user silently ?
I have been looking in the docs, but still not figured out.
Thanks