I'm not sure what's the best way to implement this but here is what I have going
On my register.blade.php
view I have a button that links to an external api link,once clicked the api will redirect the response back to register.blade.php
or [localhost:8000/register
] as a GET
request (I have no control over that matter, only the redirect link)
how would I pass the GET
data to my custom authentication controller.
Or is there a better way to implement this?
The API returns the following data and will be used to store the data in a db and authenticate the user
Account ID
Nickname
-
Access_Token
(will be used to make more api calls)