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

Add use case to get the current authenticated user given an auth cookie #56

Closed
GPortas opened this issue Apr 18, 2023 · 0 comments · Fixed by #57
Closed

Add use case to get the current authenticated user given an auth cookie #56

GPortas opened this issue Apr 18, 2023 · 0 comments · Fixed by #57
Assignees
Labels
pm.GREI-d-2.7.1 NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows pm.GREI-d-2.7.2 NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows Size: 10 A percentage of a sprint. 7 hours.

Comments

@GPortas
Copy link
Contributor

GPortas commented Apr 18, 2023

Overview of the Feature Request

Add a use case that allows obtaining the current authenticated user, given an auth cookie that comes from the JSF UI.

The related API endpoint is: /api/v1/users/:me

Being the first operation that requires authentication, we will focus on session cookie API auth (currently enabled in the backend using a feature flag). API token auth will not be supported in this scope, but the changes must be implemented in a way that can be extended to support that authentication mechanism as well in the future.

What kind of user is the feature intended for?

Dataverse frontend developers

What inspired the request?

What existing behavior do you want changed?

N/A

Any brand new behavior do you want to add to Dataverse Frontend?

New use case for retrieving the current authenticated user

Any related open or closed issues to this feature request?

@GPortas GPortas added the Size: 10 A percentage of a sprint. 7 hours. label Apr 18, 2023
@GPortas GPortas self-assigned this Apr 18, 2023
@GPortas GPortas moved this to Re-arch: SPA MVP (Guillermo) in IQSS Dataverse Project Apr 18, 2023
@GPortas GPortas moved this from Re-arch: SPA MVP (Guillermo) to Clear of the Backlog in IQSS Dataverse Project Apr 18, 2023
@GPortas GPortas added pm.GREI-d-2.7.1 NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows pm.GREI-d-2.7.2 NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows labels Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pm.GREI-d-2.7.1 NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows pm.GREI-d-2.7.2 NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows Size: 10 A percentage of a sprint. 7 hours.
Projects
Status: No status
2 participants