Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback in OAuthController always null #2

Open
zendi014 opened this issue Mar 22, 2023 · 1 comment
Open

Callback in OAuthController always null #2

zendi014 opened this issue Mar 22, 2023 · 1 comment

Comments

@zendi014
Copy link

Hi, thanks for great example, but i've a problem in oauth/callback function.
there are 2 condition:

  1. i ran the example without virtual host, the $request->user() return null
  2. when i run the example with virtual host the $response->json() return null
    please guide me to solve this
@zendi014
Copy link
Author

in this route

  1. in this route http://localhost:81/oauth/callback?code=.......
  2. in this route http://oauth-client.local/oauth/callback?code=.......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant