DEV Community

Discussion on: Create API Rest with Laravel 7.X Passport Authentication And Implement Refresh Token (Part 3)

Collapse
 
ericsts profile image
Eric Luiz dos Santos

Hi
Nice tutorial !
What is this URL : mylemp-nginx/oauth/token ??

Thanks

Collapse
 
remlinenl profile image
R. Cloeck

its the url he sends the oauth request to
you can replace it to

$response = $http->request('POST', route('passport.token'), [