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

github callback error #9

Open
zjrwtxdaydayup opened this issue Feb 2, 2024 · 8 comments
Open

github callback error #9

zjrwtxdaydayup opened this issue Feb 2, 2024 · 8 comments

Comments

@zjrwtxdaydayup
Copy link

image

@zjrwtxdaydayup
Copy link
Author

image

@weijunext
Copy link
Owner

配置是正确的,请检查appid和key是否正确

@zjrwtxdaydayup
Copy link
Author

配置是正确的,请检查appid和key是否正确

检查了是没错误的

@zjrwtxdaydayup
Copy link
Author

image
google登录也出现跨域问题

@weijunext
Copy link
Owner

image google登录也出现跨域问题

google这个肯定是地址配错了,你先在本地试一下,要同时配 http://localhosthttp://localhost:port 两个地址,port改成实际的启动端口,参考:https://weijunext.com/article/5a2f1378-e1c8-44a8-8ba3-54660811d5cd

@weijunext
Copy link
Owner

配置是正确的,请检查appid和key是否正确

检查了是没错误的

环境变量 NEXTAUTH_URL 配置和Github后台配置一样么?

@RobinWM
Copy link

RobinWM commented Mar 5, 2024

image
要注释掉这几行代码

@Mmmm008
Copy link

Mmmm008 commented Mar 5, 2024 via email

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

4 participants