How to create oauth access token in register controller

Posted 2 years ago by anonymox

I created an web app which it uses laravel default registration, I've tested passport oauth2 client access token from taylor tutorial. My web app uses angular js for UI and laravel for backend , so I need to create user when create user request is sent from angular and then create a global access token to give it in my response to angular which then in all later request I use it to authenticate requests.

How can i do this ?

Please sign in or create an account to participate in this conversation.