I was trying to find the token on a login page. I've already searched on page source but it'isnt here. I'd like to know the practices for passing an access token and then the way to find it
Asked
Active
Viewed 3,794 times
1 Answers
0
The best way for token authentication is to pass it along with the request headers. Normally u can find the tokens in the cookies with the respective key name

Chandan Kumar V
- 123
- 4
-
I'm not sure that I understood you. I know sometimes it is inserted on an input hidden, but in this case it isn't. What do you mean is the post request shown on "Inspect element"? – Riccardo Feb 18 '18 at 16:49
-
The token is not stored in the html. It is stored in browser storages such as cookies or local storage – Chandan Kumar V Feb 18 '18 at 16:51
-
When you click on inspect element, navigate to application in the open window, there you can find these – Chandan Kumar V Feb 18 '18 at 16:52
-
Thanks a lot, you have been really helpful – Riccardo Feb 18 '18 at 17:12