OAuth Require client registration setting has no effect #2901
Unanswered
onspli
asked this question in
Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
When using the following OAuth setup in Stalwart Admin UI
truefalseand Internal directory, OAuth
flow should reject authentication attempts when client_id does not match any of registered OAuth clients. It successully continues the authentication flow instead.
Expected Behavior
Accessing
http://localhost:8080/authorize/code?redirect_uri=https://test.localwithoutclient_id, or withclient_idwhich does not match any of registered OAuth clients should return error and stop the authentication flow.Actual Behavior
The authentication si granted and browser is redirected to
https://test.local/?code=xxxReproduction Steps
truehttps://test.local/?code=xxxRelevant Log Output
No response
Stalwart Version
v0.15.x
Installation Method
Docker
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
Additional Context
No response
I acknowledge that:
traceand included relevant log output if applicable.Beta Was this translation helpful? Give feedback.
All reactions