Skip to content

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

@GPortas

Description

@GPortas

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?

Metadata

Metadata

Labels

Size: 10A percentage of a sprint. 7 hours.pm.GREI-d-2.7.1NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflowspm.GREI-d-2.7.2NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions