-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Labels
in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: feedback-providedFeedback has been providedFeedback has been provided
Description
Expected Behavior
When Enabling MFA, OAuth2 auhorization flows should (optionally) first get MFA validated, then continue with the flow.
Current Behavior
MFA flows are completely ignored and the Oauth2 flow finished properly.
Context
I haven't found any alternatives yet, only having a custom AuthenticationTrustResolver, and manage it form there.
Spring security 7.0.0-SNAPSHOT
how to reproduce:
- start the mcve
- configure https://oauthdebugger.com/
authorize uri: http://127.0.0.1:8080/oauth2/authorize
redirect uri: https://oauthdebugger.com/debug
client: oidc-client
scope: openid profile
response type: code
pkce: yes - click send request
the oauth2 flow will complete successfully, instead we're supposed to use the MFA?
Metadata
Metadata
Assignees
Labels
in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: feedback-providedFeedback has been providedFeedback has been provided