谷歌
要设置Google OAuth提供商,请转到Google API控制台并使用您的Google帐户登录。

接下来,导航到OAuth 同意屏幕选项卡以配置 OAuth 同意屏幕。

按照以下步骤注册您的Google应用:

之后,转到凭证选项卡。

为您的应用创建凭证:

请确保您正确设置了授权重定向URI
在Google OAuth配置中,Authorized redirect URIs必须设置为您的Casdoor的回调URL,而在Casdoor中的Redirect URL应设置为您的应用程序的回调URL。
有关更多详细信息,请参阅应用配置。
创建Client ID后,您将获得Client ID和Client Secret。

将Google OAuth提供商添加进来,并在你的Casdoor中输入Client ID和Client Secret。

If Get password is enabled, you should enable google people api first and add scope https://www.googleapis.com/auth/user.phonenumbers.read


您现在可以使用Google作为第三方服务来完成身份验证。