Repository navigation
Supporting OAuth 2.1 for public clients - #27176
Conversation
|
@mposolda I added tests and documentation. Could you check the PR? |
244706a to
361cdec
Compare
|
@mposolda I forgotten that DPoP is still a preview feature so that we cannot include its executor into a default profile until DPoP get out of a preview feature. Do you think which would be a good option? |
I am not sure when DPoP feature is promoted from preview... Another option might be to use configuration including DPoP executor, but add something into the DPoP executor itself (instead of implementing This way the configuration will work OOTB, but dpop checks just won't be done in runtime and instead warning would be shown if someone want to use oauth 2.1 client profile for public clients. WDYT? |
|
@tnorimat I can also add that it can be nice if it is mentioned in the docs that OAuth 2.1 is still draft specification. I've commented in a similar way for your other PR for OAuth 2.1 confidential clients. |
1b61fa4 to
eafcc87
Compare
|
@mposolda I modified Also I modified the documentation as you suggested the same as in the PR for OAuth 2.1 confidential client. |
|
@andymunro Thanks for the review! |
eafcc87 to
dfdc8f1
Compare
There was a problem hiding this comment.
| and link them to the global client profiles for OAuth 2.1 support, which are automatically available in each realm. You can use ether `oauth-2-1-for-confidential-client` profile for confidential clients or `oauth-2-1-for-public-client` profile for public clients. | |
| and link them to the global client profiles for OAuth 2.1 support, which are automatically available in each realm. You can use either `oauth-2-1-for-confidential-client` profile for confidential clients or `oauth-2-1-for-public-client` profile for public clients. |
Small typo. Do you please have a chance to fix it?
There was a problem hiding this comment.
Thank you. I fixed it.
|
@tnorimat Thanks for the updates! Is it also possible to add some small note to the docs, that for OAuth 2.1 with public clients, it is recommended to use DPOP preview feature? Also there is very small typo in the docs (See inline). |
closes keycloak#25316 Co-authored-by: shigeyuki kabano <shigeyuki.kabano.sj@hitachi.com> Signed-off-by: Takashi Norimatsu <takashi.norimatsu.ws@hitachi.com>
dfdc8f1 to
f414daa
Compare
|
@mposolda I added the sentence to recommend using DPoP in oauth21-support.adoc.
|
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.x509.X509BrowserCRLTest#loginFailedWithIntermediateRevocationListFromHttpKeycloak CI - FIPS IT (non-strict) org.keycloak.testsuite.x509.X509BrowserCRLTest#loginFailedWithInvalidSignatureCRLKeycloak CI - FIPS IT (non-strict) |
closes #25316