vdomah / oc-jwtauth

JWTAuth plugin for October CMS wich provides token based authentication
MIT License
27 stars 21 forks source link

How the request at the client side should look like? #1

Open chrisiek opened 7 years ago

chrisiek commented 7 years ago

How do you make the POST request with a parameter that you later call as Request::get('email')? Do you use Postman? Can you give an example of how the request at the client side should look like?

vdomah commented 7 years ago

Hello! Your're right - Postman. Here is the example: jwtlogin

Feel free to make a suggestion how could using the plugin be more convenient in your case. And may be I'll implement this new logic.

jonoirwinrsa commented 7 years ago

Hi @vdomah

Would it be possible to get the refresh token added to the response and an endpoint to refresh the current token?

I will look into adding this sometime and will do a PR if I do but I was just wondering if it is something you have looked at or thought about already?