Skip to content

Conversation

@shyim
Copy link

@shyim shyim commented Sep 11, 2025

I was pretty lost why I don't get a token. I added further debugging for my next WHY IS THIS NOT WORKING. btw it was cache, it's always cache

image

@cpanato
Copy link
Contributor

cpanato commented Oct 9, 2025

need a rebase

console.log(`::add-mask::${encode(msg)}`);
}

export function parseOIDC(token) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm slightly worried about parsing the OIDC here, and not verifying it. I also don't hugely want to add verification to this code, and instead just forward it to the service which will validate it.

Was this only added so that we could log the OIDC subject? I wonder if there's a better way to do that. It's a very nice trait of this codebase that it's simple and "small enough to fit in your head".

Copy link
Author

Choose a reason for hiding this comment

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

I just wanted to output the subject for easier debugging :)

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.

3 participants