-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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_回调地址是什么 #2859
Comments
嘿,@wanxiangsucai!很高兴再次见到你。希望一切都好! 在您提供的 因此,无法从提供的上下文中确定您问题的答案。但是,我可以告诉您一般情况下GitHub和Google OAuth的回调URL的标准格式或结构。
两种OAuth实现都需要一个OAuth提供商在用户授权应用程序后重定向回来的 在 对于
对于
要在您的应用程序中为GitHub和Google OAuth设置
在GitHub和Google上设置OAuth应用程序后,确保您更新应用程序的配置,使用GitHub和Google提供的 例如,如果将它们设置为环境变量,确保您的环境设置了以下变量:
这些值然后在您的 self.GITHUB_CLIENT_ID = get_env('GITHUB_CLIENT_ID')
self.GITHUB_CLIENT_SECRET = get_env('GITHUB_CLIENT_SECRET')
self.GOOGLE_CLIENT_ID = get_env('GOOGLE_CLIENT_ID')
self.GOOGLE_CLIENT_SECRET = get_env('GOOGLE_CLIENT_SECRET') 此设置确保当用户尝试使用GitHub或Google进行身份验证时,他们将在成功身份验证后被重定向到指定的 配置文件中 参考源代码: Sources
|
Close due to #1542 这部分内容属于 SaaS 部分的内容,不在社区版本之内,如果需要获取技术咨询,请联系 business@dify.ai |
@crazywoola I understand that the policy is to post in English but still; that was the closest potential answer I found about my issue. how could we integrate GitHub and Google
|
Self Checks
Provide a description of requested docs changes
GITHUB_CLIENT_ID: YOUR_GITHUB_CLIENT_ID_HERE
GITHUB_CLIENT_SECRET: YOUR_GITHUB_CLIENT_SECRET_HERE
GITHUB_回调地址是什么
还有谷歌的回调地址是什么
The text was updated successfully, but these errors were encountered: