-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
Connect to Minio with temporary credentials from STS obtained with OpenID Connect token from Keycloak #14893
Merged
dkocher
merged 19 commits into
iterate-ch:feature/GH-13804-minio+keycloak
from
SheromS:feature/oidc-sts-s3
Aug 11, 2023
Merged
Connect to Minio with temporary credentials from STS obtained with OpenID Connect token from Keycloak #14893
dkocher
merged 19 commits into
iterate-ch:feature/GH-13804-minio+keycloak
from
SheromS:feature/oidc-sts-s3
Aug 11, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 tasks
dkocher
changed the base branch from
master
to
bugfix/GH-10917-authentication-interceptor
July 10, 2023 21:35
…vailableRetryStrategy
SheromS
force-pushed
the
feature/oidc-sts-s3
branch
from
July 11, 2023 09:14
e7ef666
to
3528d70
Compare
SheromS
changed the base branch from
bugfix/GH-10917-authentication-interceptor
to
master
July 11, 2023 09:24
SheromS
changed the base branch from
master
to
bugfix/GH-10917-authentication-interceptor
July 11, 2023 09:26
dkocher
requested changes
Jul 12, 2023
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.
- Review comments.
- Please run code formatting for all new classes to match existing code style.
- Change package name of test classes to
sts
?
oauth/src/main/java/ch/cyberduck/core/oauth/OAuth2AuthorizationService.java
Outdated
Show resolved
Hide resolved
s3/src/main/java/ch/cyberduck/core/sts/STSCredentialsRequestInterceptor.java
Outdated
Show resolved
Hide resolved
s3/src/test/java/ch/cyberduck/core/oidc/testenv/OidcAuthenticationTest.java
Outdated
Show resolved
Hide resolved
s3/src/test/java/ch/cyberduck/core/oidc/testenv/OidcAuthorizationTest.java
Outdated
Show resolved
Hide resolved
s3/src/main/java/ch/cyberduck/core/sts/STSCredentialsRequestInterceptor.java
Outdated
Show resolved
Hide resolved
s3/src/main/java/ch/cyberduck/core/sts/STSCredentialsRequestInterceptor.java
Show resolved
Hide resolved
s3/src/main/java/ch/cyberduck/core/sts/STSCredentialsRequestInterceptor.java
Outdated
Show resolved
Hide resolved
|
- optimize docker-compose network configuration
dkocher
requested changes
Jul 20, 2023
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.
- Change package name of new STS related production and test classes to
ch.cyberduck.core.sts
. While OIDC is part of the specific flow, this could be replaced by otherassumeRole
implementations using LDAP or other identity providers.
oauth/src/main/java/ch/cyberduck/core/oauth/OAuth2AuthorizationService.java
Outdated
Show resolved
Hide resolved
s3/src/main/java/ch/cyberduck/core/s3/S3WebIdentityTokenExpiredResponseInterceptor.java
Outdated
Show resolved
Hide resolved
s3/src/main/java/ch/cyberduck/core/s3/S3WebIdentityTokenExpiredResponseInterceptor.java
Outdated
Show resolved
Hide resolved
s3/src/main/java/ch/cyberduck/core/s3/S3WebIdentityTokenExpiredResponseInterceptor.java
Outdated
Show resolved
Hide resolved
s3/src/main/java/ch/cyberduck/core/sts/STSCredentialsRequestInterceptor.java
Show resolved
Hide resolved
dkocher
reviewed
Aug 6, 2023
oauth/src/main/java/ch/cyberduck/core/oauth/OAuth2AuthorizationService.java
Outdated
Show resolved
Hide resolved
dkocher
changed the base branch from
bugfix/GH-10917-authentication-interceptor
to
feature/GH-13804-minio+keycloak
August 7, 2023 06:45
dkocher
reviewed
Aug 7, 2023
core/src/main/java/ch/cyberduck/core/DefaultHostPasswordStore.java
Outdated
Show resolved
Hide resolved
dkocher
reviewed
Aug 7, 2023
dkocher
reviewed
Aug 7, 2023
core/src/main/java/ch/cyberduck/core/DefaultHostPasswordStore.java
Outdated
Show resolved
Hide resolved
dkocher
changed the title
Feature/OIDC-STS-S3
Connect to Minio with temporary credentials from STS obtained with OpenID Connect token from Keycloak
Aug 8, 2023
…DefaultHostPasswordStore.java
dkocher
reviewed
Aug 10, 2023
oauth/src/main/java/ch/cyberduck/core/oauth/OAuth2AuthorizationService.java
Show resolved
Hide resolved
dkocher
reviewed
Aug 10, 2023
dkocher
added a commit
that referenced
this pull request
Aug 11, 2023
…enID Connect token from Keycloak (#14893) Co-authored-by: Ismail Cadaroski <ismail.cadaroski@students.fhnw.ch> Co-authored-by: Sherom Sandmeier <sherom.sandmeier@students.fhnw.ch>
dkocher
added a commit
that referenced
this pull request
Aug 11, 2023
…enID Connect token from Keycloak (#14893) Co-authored-by: Ismail Cadaroski <ismail.cadaroski@students.fhnw.ch> Co-authored-by: Sherom Sandmeier <sherom.sandmeier@students.fhnw.ch>
dkocher
added a commit
that referenced
this pull request
Aug 28, 2023
…enID Connect token from Keycloak (#14893) Co-authored-by: Ismail Cadaroski <ismail.cadaroski@students.fhnw.ch> Co-authored-by: Sherom Sandmeier <sherom.sandmeier@students.fhnw.ch>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request contains our current state with:
Authentication to Keycloak
Fetch STS temporary credentials
Testcontainers with the included docker-compose configuration
First tests including the testcontainers (are running)
A first version of the OIDC Cyberduck Profile in the ressource-folder
Suggested changes from @chenkins implemented (about STS) Get STS to work with MinIO http://localhost:9000 SheromS/cyberduck#6
rebase on #14882. This allows to properly sign requests after refreshing tokens.
Resolves Suport to login using temporary credentials from Security Token Service (STS API) using OpenID Connect web identity #13804
Resolves Expired temporary credentials (STS) should be refreshed automatically #10917
Make sure we have test coverage for expired STS tokens.
Resolves TODOs
Resolve comments