瀏覽代碼

Remove redundant 'provider' property from oauth2Login sample config

Fixes gh-4817
Joe Grandja 7 年之前
父節點
當前提交
0d33864b5a
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      samples/boot/oauth2login/src/main/resources/application.yml

+ 0 - 4
samples/boot/oauth2login/src/main/resources/application.yml

@@ -16,19 +16,15 @@ spring:
       client:
         registration:
           google:
-            provider: google
             client-id: your-app-client-id
             client-secret: your-app-client-secret
           github:
-            provider: github
             client-id: your-app-client-id
             client-secret: your-app-client-secret
           facebook:
-            provider: facebook
             client-id: your-app-client-id
             client-secret: your-app-client-secret
           okta:
-            provider: okta
             client-id: your-app-client-id
             client-secret: your-app-client-secret
         provider: