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

Implement user info retrieval on auth #704

Closed
andrewazores opened this issue Oct 6, 2021 · 0 comments · Fixed by #703
Closed

Implement user info retrieval on auth #704

andrewazores opened this issue Oct 6, 2021 · 0 comments · Fixed by #703
Assignees
Labels
feat New feature or request

Comments

@andrewazores
Copy link
Member

andrewazores commented Oct 6, 2021

A new handler should be implemented which returns some basic information about the authenticated user after a successful POST /api/v2/auth. The information returned should include at least the successfully authenticated user's username, but may include further information as well.

In the case of Basic auth, the username returned must be the same as the Basic auth username provided.

In the case of Noop auth, the username should be null or the empty string to indicate no user.

In the case of Bearer auth, such as in the OpenShiftAuthManager, the username should be the one that corresponds to the supplied Bearer token according to the delegate auth server.

cryostatio/cryostat-web#261 (comment)

@andrewazores andrewazores added the feat New feature or request label Oct 6, 2021
@andrewazores andrewazores self-assigned this Oct 6, 2021
tthvo pushed a commit to tthvo/cryostat-legacy that referenced this issue Dec 9, 2024
….20-2.1730773767 in /src/main/docker (cryostatio#704)

build(deps): bump ubi8/openjdk-21-runtime in /src/main/docker

Bumps ubi8/openjdk-21-runtime from 1.20-2.1729089290 to 1.20-2.1730773767.

---
updated-dependencies:
- dependency-name: ubi8/openjdk-21-runtime
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant