1

我用小樹枝後備箱2 M5和春天的OAuth 我有我的OAuth客戶端應用程序春天開機2 M5 OAuth認證問題

security: 
    oauth2: 
    client: 
     registration: 
      my-client: 
       client-id: blabla 
       client-secret: asecret 
       client-name: a name 
       provider: my-provider 
       scope: read 
       redirect-uri: https://localhost:8780/dp 
       authentication-method: basic 
       authorization-grant-type: authorization_code 
    provider: 
     my-provider: 
      authorization-uri: https://blabla/oauth-server/oauth/authorize 
      token-uri: https://blaba/oauth-server/oauth/token 
      user-info-uri: https://lmfr:8780/user 
      user-name-attribute: username 

我期待這個配置被重定向到登錄頁面我Oauth提供者,但是我被重定向到默認的Spring登錄頁面。

有什麼建議嗎?

回答

1

取出redirect-uri那麼它應該工作

參見本bug

+0

其實我停止了在這個問題上的工作,好像春天開機M5是不是準備好了最新的春季的oauth2工作 – Seb