坑打 LiteyukiStudio/halo-oauth2-liteyukiblob/main/src/main/resources/extensions/client-registrations.yaml,readMe中好像没有是多少配置,这个可以用么
坑打 apiVersion: auth.halo.run/v1alpha1 kind: AuthProvider metadata: name: github labels: auth.halo.run/auth-binding: "true" spec: displayName: GitHub description: GitHub Inc. is an Internet hosting service for software development and version control using Git. logo: /plugins/plugin-oauth2/assets/static/github.svg website: https://github.com helpPage: https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app authenticationUrl: /oauth2/authorization/github bindingUrl: /oauth2/authorization/github unbindUrl: /apis/uc.api.auth.halo.run/v1alpha1/user-connections/github/disconnect authType: oauth2 settingRef: name: generic-oauth2-setting group: genericOauth configMapRef: name: oauth2-github-config这个是怎么读出来的,我不需要定义一个configmap的资源么
坑打 apiVersion: oauth.halo.run/v1alpha1 kind: Oauth2ClientRegistration metadata: name: azure-ad spec: clientAuthenticationMethod: "client_secret_basic" authorizationGrantType: "authorization_code" redirectUri: "{baseUrl}/login/oauth2/code/gitee" scopes: - "user_info" authorizationUri: "https://login.partner.microsoftonline.cn/tid/oauth2/v2.0/authorize" tokenUri: "https://login.partner.microsoftonline.cn/tid/oauth2/v2.0/token" userInfoUri: "https://login.partner.microsoftonline.cn/ttd/v2.0/.well-known/openid-configuration" userInfoAuthenticationMethod: "header" userNameAttributeName: "email" clientName: "azure-ad"这个是我的配置
坑打 apiVersion: auth.halo.run/v1alpha1 kind: AuthProvider metadata: name: azure labels: auth.halo.run/auth-binding: "true" spec: displayName: "Azure AD" description: "通过Azure AD账号登录" logo: https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/media/how-to-add-branding-in-azure-ad-portal/azure-ad-portal-logo.png website: https://azure.microsoft.com/ helpPage: https://learn.microsoft.com/zh-cn/azure/active-directory/develop/quickstart-register-app authenticationUrl: https://login.partner.microsoftonline.cn/tid/oauth2/v2.0/authorize bindingUrl: /oauth2/authorization/azure-ad unbindUrl: /apis/uc.api.auth.halo.run/v1alpha1/user-connections/azure-ad/disconnect authType: oauth2 settingRef: name: generic-oauth2-setting group: genericOauth configMapRef: name: oauth2-azure-config