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