DEV Community

Discussion on: How to Secure JWT in a Single-Page Application

Collapse
 
nilanth profile image
Nilanth

Thanks for your question.
This approach is only for web, for mobile it is completely different, we need pass the JWT as Authorization bearer token. so we need to go with separate APIs. for example api/mobile/login instead of api/web/login

Some comments have been hidden by the post's author - find out more