Skip to content
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

feat: Enable Authorization Code + PKCE flow #4974

Merged
merged 3 commits into from May 13, 2024

Conversation

nkomonen-amazon
Copy link
Contributor

@nkomonen-amazon nkomonen-amazon commented May 10, 2024

Problem

The OIDC client Authorization Code + PKCE has been released

Solution

This commit removes the old temp OIDC client and simply uses
our existing one with minor modifications to get things working.

Also we were required to update some transitive dependencies which
is why there are 'smithy' related dependency changes

We can now close #4917 and #4925 as the changes of this PR were taken from them

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

- Now we run Device Code if we are in an ssh workspace
- Otherwise we run the Authorization code flow

Signed-off-by: Nikolas Komonen <nkomonen@amazon.com>
Since the new OIDC client with Authorization Code flow was
not released we had to use a pre-build version.

Now that the new client is released we can actually use it.

Solution:

This commit removes the old temp OIDC client and simply uses
our existing one with minor modifications to get things working.

Also we were required to update some transitive dependencies which
is why there are 'smithy' related dependency changes

Signed-off-by: Nikolas Komonen <nkomonen@amazon.com>
@nkomonen-amazon nkomonen-amazon requested a review from a team as a code owner May 10, 2024 21:10
Signed-off-by: Nikolas Komonen <nkomonen@amazon.com>
@nkomonen-amazon nkomonen-amazon merged commit bbefe6b into aws:master May 13, 2024
14 checks passed
@nkomonen-amazon nkomonen-amazon deleted the pkceTest branch May 13, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants