IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
882 stars 494 forks source link

Extend users/token endpoint for retrieving the token using any available API auth mechanism #10914

Closed GPortas closed 3 weeks ago

GPortas commented 1 month ago

Overview of the Feature Request

The current endpoint requires to pass an API token for retrieving the current API token info. We need to change this to support actual API mechanisms for being able to consume this endpoint from js-dataverse.

What kind of user is the feature intended for? API User

What inspired the request? API token page work

What existing behavior do you want changed? Fix users/token endpoint for retrieving the token using any API auth mechanism

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

Any open or closed issues related to this feature request? https://github.com/IQSS/dataverse-frontend/issues/506

Are you thinking about creating a pull request for this feature?
Yes