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

chore(oauth): Replace deprecated check_token usage with introspect #3385

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

silvestre
Copy link
Member

@silvestre silvestre commented Nov 29, 2024

Issue

UAA has deprecated the check_token endpoint and recommends using the
introspect endpoint:
https://docs.cloudfoundry.org/api/uaa/version/77.19.0/index.html#check-token

Fix

  • chore(oauth): Replace deprecated check_token usage with introspect

Also

  • chore(devbox): Remove superfluous google-cloud-sdk
    There's no need for google-cloud-sdk in this repo, accessing the CI environment cloud provider this should happen through the app-runtime-interface-wg repo.

# Issue

UAA has deprecated the `check_token` endpoint and recommends using the
`introspect` endpoint:
https://docs.cloudfoundry.org/api/uaa/version/77.19.0/index.html#check-token
There's no gcloud usage in this repo apart from one useless call.
@silvestre silvestre force-pushed the switch-check-token-to-introspect branch from fb37755 to 57a2752 Compare December 2, 2024 10:25
…rospect`

# Issue

Basic auth has been deprecated when calling `introspect` and bearer
token auth is now recommended:
https://docs.cloudfoundry.org/api/uaa/version/77.19.0/index.html#introspect-token
@silvestre silvestre force-pushed the switch-check-token-to-introspect branch from f236e06 to 9a67e18 Compare December 2, 2024 10:53
Copy link

sonarcloud bot commented Dec 2, 2024

@silvestre silvestre marked this pull request as ready for review December 2, 2024 12:24
@silvestre silvestre added the chore label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant