samedi 6 mai 2017

How to do guzzle api login from laravel to tomcat?

I'm currently building a web application using laravel for the front end and Java-Tomcat on backend using HTTPS API and JWT bearer for auth.

I'm currently stuck at how to authenticate the user using Guzzle when logging in. I have a few questions:

  1. where do I store the JWT after receiving response from my backend?
  2. How do I protect login specific route on my Laravel?

I have looked through JWT Guard, custom guard and provider documentations, and I honestly say I'm kinda lost. Any help will be appreciated. Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire