简体   繁体   中英

Is there a way I can get JWT signed token to blade views in larave

By signing token using JWT I can access other routes which are restricted using JWT Middleware but When I submit my blade view forms I get 419 | page has expired error

I suggest you to use Postman to reach your server page or API and add in header section Key: Authorization // Value: Bearer + MY_TOKEN (which you can get,by running keycloak.token() in your browser console once you are logged in)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM