[Bug] unauthorized_client: Callback URL mismatch. http://0.0.0.0:3210/api/auth/callback/auth0 is not in the list of allowed callback URLs #4296
Replies: 14 comments
-
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
To resolve the "unauthorized_client: Callback URL mismatch" error, you need to ensure that the callback URL
Make sure that this URL is consistent with the URL used in your Docker environment [1]. |
Beta Was this translation helpful? Give feedback.
-
如果回调配置http://0.0.0.0:3210/api/auth/callback/auth0 |
Beta Was this translation helpful? Give feedback.
-
NEXTAUTH_URL有设置吗? |
Beta Was this translation helpful? Give feedback.
-
Is NEXTAUTH_URL set? |
Beta Was this translation helpful? Give feedback.
-
NEXTAUTH_URL=http://公网IP:3210/api/auth |
Beta Was this translation helpful? Give feedback.
-
NEXTAUTH_URL=http://public IP:3210/api/auth |
Beta Was this translation helpful? Give feedback.
-
设置成localhost试试 |
Beta Was this translation helpful? Give feedback.
-
Try setting it to localhost |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
It’s useless, the error is as follows |
Beta Was this translation helpful? Give feedback.
-
其他的也改成localhost了?之前在windows上本地部署,用auth0没问题,不过全是用的localhost没用公网IP |
Beta Was this translation helpful? Give feedback.
-
Have the others been changed to localhost? Previously, it was deployed locally on Windows. It was no problem to use auth0, but it was all localhost and not the public IP. |
Beta Was this translation helpful? Give feedback.
-
0.0.0.0:3210 和你 auth0 allow 的配置不一样,仔细检查下配置 |
Beta Was this translation helpful? Give feedback.
-
📦 Environment
Docker
📌 Version
1.21.4
💻 Operating System
Windows
🌐 Browser
Chrome
🐛 Bug Description
点击登录时提示unauthorized_client: Callback URL mismatch. http://0.0.0.0:3210/api/auth/callback/auth0 is not in the list of allowed callback URLs
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions