Token based authentication

while using token based authentication , External App generated token can be used by other person ( within the expiry time)  how can we restrict ,that nobody can get or reuse that token.

vedansh.jaiswal's picture
Joined: Mar 12 2016 - 12:17am
Last seen: 6 years 6 months ago

2 Answers:

You can add some origin check in the token and use that to validate that token in the decrypt method you are using.

marianol's picture
13556
Joined: Sep 13 2011 - 8:04am
Last seen: 4 years 3 days ago

Follow this link for Jasper Token Based Authentication

https://github.com/mehulkatara/Jasper-Token-based-Authentication

mehulkatara's picture
Joined: Feb 19 2018 - 12:38am
Last seen: 1 month 3 weeks ago
Feedback