ch4mpy / spring-addons

Ease spring OAuth2 resource-servers configuration and testing
Apache License 2.0
521 stars 84 forks source link

Doubled path-prefix by `SpringAddonsServerOAuth2AuthorizationRequestResolver` #182

Closed ch4mpy closed 6 months ago

ch4mpy commented 6 months ago

Describe the bug When setting a client-uri with a path-prefix, this path is doubled in the built authorization URI

Code sample

com:
  c4-soft:
    springaddons:
      oidc:
        client:
          client-uri: https://localhost:7080/bff

Expected behavior The response to the authorization-code flow initiation should contain Location with a redirect_uri request parameter like https://localhost:7080/bff/login/oauth2/code/quiz-bff (not https://localhost:7080/bff/bff/login/oauth2/code/quiz-bff)

ch4mpy commented 6 months ago

Fixed in 7.3.7