laravel11-react-spa icon indicating copy to clipboard operation
laravel11-react-spa copied to clipboard

Passport und jwt token auth

Open cth18012017 opened this issue 1 year ago • 3 comments

The example is very good for getting started, although I haven't watched to the end yet. For my project we need a token validation with beerer JWT token and OAuth 2. I have read that this can be realized with passpord. In addition, I thought about keyclock, where I can log in and then use keyclock to deliver the token with user data such as the userid and a valid session token. Can you perhaps use your preffesional knowledge to provide something for this?

cth18012017 avatar Mar 28 '24 07:03 cth18012017

This is really simple

$token = $request->bearerToken();

ambasador avatar Jun 28 '24 19:06 ambasador

Have you a full example to use it?

cth18012017 avatar Aug 16 '24 16:08 cth18012017