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

Invalid state #763

Closed
7 tasks done
ihabkhaled opened this issue May 11, 2024 · 3 comments
Closed
7 tasks done

Invalid state #763

ihabkhaled opened this issue May 11, 2024 · 3 comments

Comments

@ihabkhaled
Copy link

ihabkhaled commented May 11, 2024

Checklist

SDK Version

8.7

PHP Version

PHP 8.2

Description

image
I am trying to login but in the callback I have this error
I tried to add dd() inside ewxchange function

the $pkce variable is not set
$pkce = $store->getOnce('code_verifier');

image

image

I am using version 7.14 auth0/login
"name": "auth0/auth0-php",
"version": "8.11.1",

Itried this command php artisan key:generate

I tried it and it bypassed
now I have another issue but the issue persists again

image

How can we reproduce this issue?

Reproduction
1-login
2-the call back url

@ihabkhaled
Copy link
Author

env file

AUTH0_DOMAIN=dev-u37mpzobnwula3ip.us.auth0.com
AUTH0_CLIENT_ID=
AUTH0_CLIENT_SECRET=
AUTH0_CALLBACK_URL=http://127.0.0.1:8000/callback
AUTH0_BASE_URL=http://127.0.0.1:8000
APP_URL=http://127.0.0.1:8000

@ihabkhaled
Copy link
Author

APP_NAME=Laravel
APP_ENV=local
APP_DEBUG=true
APP_KEY=base64:uj8tdbIm2n6Fr3U9jXM4TlN4Bk9RXObJXPIkxEUimkQ=

@evansims
Copy link
Member

evansims commented May 20, 2024

Hi @ihabkhaled 👋 This issue would be better raised in the Laravel SDK repository, as it does not involve the PHP SDK.

In any event, the cURL error you're seeing is not SDK-related. The error indicates the DNS resolution on the server you are executing PHP from is unable to resolve the certificate. This is a server configuration issue, and is not something the SDK influences.

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

2 participants