-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Slack well-known social OIDC provider #44114
Add Slack well-known social OIDC provider #44114
Conversation
michalvavrik
commented
Oct 26, 2024
- Closes: Add Slack to the list of supported OIDC providers #38462
8b84c1a
to
66f9f4e
Compare
🙈 The PR is closed and the preview is expired. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
66f9f4e
to
f1a8fab
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @michalvavrik , thanks, LGTM, I'll be suggesting a few minor updates, the first one is to draw red lines over the client secret, and id as well, even though that was a test app,
I'm travelling, will add a few comments later, thanks very much
@michalvavrik Yes, in all other images we do highlight that this is a sensitive info... I have a few more comments about the way the Slack app setup is suggested now. Please follow the manual setup option, JSON there looks complex to me. The other suggestion is cosmetic, please use If Slack insists on the https scheme then we should offer an ngrok based url, similar to how Steph did it for ex for Facebook. Also, I propose to have URI ending with |
extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/providers/KnownOidcProviders.java
Outdated
Show resolved
Hide resolved
extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/providers/KnownOidcProviders.java
Outdated
Show resolved
Hide resolved
extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/providers/KnownOidcProviders.java
Outdated
Show resolved
Hide resolved
extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/providers/KnownOidcProviders.java
Outdated
Show resolved
Hide resolved
...tion-tests/oidc-wiremock/src/test/java/io/quarkus/it/keycloak/CodeFlowAuthorizationTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Michal, left a few more comments, they are really rather cosmetic, minor ones, sorry this issue is taking more time than expected
I have deleted all my comments and I'll address every single request for change. |
b8932b9
to
666b841
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
...tion-tests/oidc-wiremock/src/test/java/io/quarkus/it/keycloak/SlackWiremockTestResource.java
Outdated
Show resolved
Hide resolved
extensions/oidc/runtime/src/test/java/io/quarkus/oidc/runtime/KnownOidcProvidersTest.java
Outdated
Show resolved
Hide resolved
666b841
to
4c024a1
Compare
This comment has been minimized.
This comment has been minimized.
integration-tests/oidc-wiremock-providers/src/main/resources/application.properties
Outdated
Show resolved
Hide resolved
integration-tests/oidc-wiremock-providers/src/main/resources/application.properties
Outdated
Show resolved
Hide resolved
integration-tests/oidc-wiremock-providers/src/main/resources/application.properties
Outdated
Show resolved
Hide resolved
integration-tests/oidc-wiremock-providers/src/main/resources/application.properties
Outdated
Show resolved
Hide resolved
...iremock-providers/src/test/java/io/quarkus/it/oidc/providers/OidcWellKnownProvidersTest.java
Outdated
Show resolved
Hide resolved
...iremock-providers/src/test/java/io/quarkus/it/oidc/providers/OidcWellKnownProvidersTest.java
Outdated
Show resolved
Hide resolved
...iremock-providers/src/test/java/io/quarkus/it/oidc/providers/OidcWellKnownProvidersTest.java
Outdated
Show resolved
Hide resolved
...iremock-providers/src/test/java/io/quarkus/it/oidc/providers/OidcWellKnownProvidersTest.java
Outdated
Show resolved
Hide resolved
...iremock-providers/src/test/java/io/quarkus/it/oidc/providers/OidcWellKnownProvidersTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @michalvavrik, first of all, thanks for doing what I should've done ages ago, by adding the provider specific Wiremock support, starting from Slack, it really all looks quite perfect,
I'm only trying for us to get the simplest possible setup so that we can easily explain it to users, for them copy and paste individual test classes, etc
LGTM, thanks
...iremock-providers/src/test/java/io/quarkus/it/oidc/providers/OidcWellKnownProvidersTest.java
Outdated
Show resolved
Hide resolved
87b4ecd
to
643e11b
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Michal, @michalvavrik, LGTM, thanks for the effort, it all looks great, I'll do a single push myself, to avoid distracting you as you are very busy, related to scopes (vs required claims), and will merge afterwards, thanks
Please don't merge yet, I'll do a minor update, to replace |
Thanks @sberyozkin , yeah, I have other things ATM and I'll be happy when this gets in. Go ahead. |
643e11b
to
3a39e63
Compare
3a39e63
to
5a05d9a
Compare
@michalvavrik I pushed a minor update: Then I followed up with a unit test update to show users can override the scope with a more restricted value if needed |
Status for workflow
|
Status for workflow
|