Auth0 Home Blog Docs

JWT token for guest/anonymous/unauthenticated users



Does Auth0 provides any way to provide JWT tokens for guest/anonymous/unauthenticated users?

I am asking for something similar to Firebase anonymous auth or AWS Cognito unauthenticated users.



Hello there @eloypnd.lemonone! I checked with our TSE team and confirmed that there must be a user in Auth0 to create the Token. Please let me know if this helped answer your question. Thanks!


Thanks for your response @James.Morrison.

Do you know if this is a feature that Auth0 has on its roadmap?


I can’t speak with insight on that but I would highly recommend visiting and making the feature request!



Firebase/AWS have several services that need to be called with a token, so it makes sense for them to provide an ‘unauthenticated token’. However, in Auth0 there are no such services. If you build your own API, you can call it without being authenticated by not requiring a token in the header.

Can you help me understand what are you trying to accomplish?



Hi Andres,
we have two use cases for the same problem:

  1. User starts using our API before signup, then signup occurs after some onboarding. Ideally we’d like to keep the same user id and/or link to the signed up user account afterwards
  2. Need for our app to make calls to Firebase/AWS as you mentioned (e.g. AWS AppSync). Currently we need to handle both token and something else for unauthenticated users. Would be much nice to have a simpler approach.