Token based authentication

0

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: 5 years 6 months ago

2 Answers:

0

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
5938
Joined: Sep 13 2011 - 8:04am
Last seen: 2 years 11 months ago
0

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: 2 years 2 months ago
Feedback
randomness