Skip to content

Conversation

flux-ricky
Copy link
Contributor

@flux-ricky flux-ricky commented Jun 6, 2024

To avoid leaking access tokens in logs or traces from the client application.

I struggled to find specific documentation that this endpoint (https://www.googleapis.com/oauth2/v3/tokeninfo) can receive GET and POST, if anyone knows where to find API docs for these endpoints that would be assuring.

I've lightly tested the fork in my own organisation and it appears to work as expected. I verified the change by using application traces which record metadata about HTTP requests made and I saw the expected change and no more leakage of the access token.

Before:
image

After:
image

To avoid leaking access tokens in logs or traces from the client
application.
@flux-ricky flux-ricky force-pushed the post-to-tokeninfo branch from 0293574 to cf2598c Compare June 6, 2024 21:46
@flux-ricky flux-ricky marked this pull request as ready for review June 6, 2024 22:39
@zquestz
Copy link
Owner

zquestz commented Aug 9, 2024

This looks great. Thx. I do wish there were some clear docs though. =\

@zquestz zquestz merged commit 4288914 into zquestz:master Aug 9, 2024
@flux-ricky flux-ricky deleted the post-to-tokeninfo branch August 30, 2024 01:17
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.

2 participants