what is the difference between personal access token and json web token for user Authentication?

I know we can use json web token for user authentication in web application. The app client sends a couple username and password to application server, web application server return a JSON web token to app client.

Today, I read some passages about personal access token in Laravel 5.4 document . But, I'm not sure whether they are a meaning. what is personal access token? The personal access token in Laravel is equivalent to JSON web token for user authentication?

Who can help me?


Solution 1:

This is the definition

Personal access token

Sometimes, your users may want to issue access tokens to themselves without going through the typical authorization code redirect flow. Allowing users to issue tokens to themselves via your application's UI can be useful for allowing users to experiment with your API or may serve as a simpler approach to issuing access tokens in general.

A personal access token is just a JWT(Json Web Token) created for user authentication with your own frontend to offer your users a dashboard for managing personal access tokens instead of using the user/password form.