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

Added OIDC client functionality in core package #887

Merged

Conversation

souravchanduka
Copy link
Contributor

In order to get the temporary credentials for accessing cloud resources, we need to get the ID Token from the action service. This ID Token will be used by login actions of different cloud providers. Since the code to fetch the ID Token will be same for all the login actions, we can use this functionality. All the login actions would import this package and get the ID token for further use.

@souravchanduka souravchanduka requested a review from a team as a code owner August 19, 2021 08:11
@@ -1,6 +1,6 @@
{
"name": "@actions/core",
"version": "1.5.0",
"version": "1.5.1",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets go to 1.6.0.

Please also update the https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md file with this change under the version 1.6.0

@thboop
Copy link
Collaborator

thboop commented Aug 19, 2021

Excited for this PR to land 🚀 . Left some minor comments on process, @luketomlinson is going to review the contents of the pr.

Copy link
Contributor

@luketomlinson luketomlinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor things, but no show-stoppers. Good work @souravchanduka!

packages/core/src/oidc-utils.ts Outdated Show resolved Hide resolved
packages/core/src/oidc-utils.ts Show resolved Hide resolved
packages/core/src/oidc-utils.ts Outdated Show resolved Hide resolved
packages/core/src/oidc-utils.ts Outdated Show resolved Hide resolved
packages/core/src/core.ts Outdated Show resolved Hide resolved
@luketomlinson
Copy link
Contributor

@souravchanduka, @TingluoHuang is going to coordinate when this should get merged/released.

@TingluoHuang TingluoHuang changed the base branch from main to features/oidcpreview August 25, 2021 20:07
@TingluoHuang
Copy link
Member

I am going to merge this PR to a feature branch, and create follow up PR to react to the latest update around OIDC on the service side.

@TingluoHuang TingluoHuang merged commit 3da67ac into actions:features/oidcpreview Aug 25, 2021
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.

4 participants