php: local ok, online error #293
Unanswered
TuffyMouse
asked this question in
Q&A
Replies: 1 comment
-
I found the problem myself. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hallo,
i have a strange problem.
I implemented my php-code and it works very well on my local development-system (of course with connection to the internet).
I get the correct reponse from Step 2:
Redirecting to https://auth.tesla.com/void/callback?code=81df14f9b7f45cdc5858d33ffb13595f3dca64594e76ad975f419dba4ccb&state=YzVlNWExZDI3ZjY5&issuer=https%3A%2F%2Fauth.tesla.com%2Foauth2%2Fv3
The same code on the production server return the incorrect response from Step 2:
Redirecting to https://auth.tesla.com/oauth2/v3/authorize?client_id=ownerapi&code_challenge=ZTQyYzc5NTZmMGU4ZjcxZGFiM2Y1OWFlMWVkM2U2ZDM4NzFhYTFkYTVmYzNiYWYzZTIxZTBmNDkzMzMwMGVkYTliZjcwNTZkODc1N2MxMzBhNzdlOGY&code_challenge_method=S256&redirect_uri=https%3A%2F%2Fauth.tesla.com%2Fvoid%2Fcallback&response_type=code&scope=openid+email+offline_access&state=ZDZkNTQ0MDJlM2Jm
The correct one: https://auth.tesla.com/void/callback...
The incorrect one: https://auth.tesla.com/oauth2/v3/authorize...
As i mentioned, it's the same code!
I would really appreciate any hints!
TuffyMouse
Beta Was this translation helpful? Give feedback.
All reactions