-
Notifications
You must be signed in to change notification settings - Fork 535
Description
Overview of the Feature Request
In order to use a Single Page Application (SPA) architecture, the SPA (written in React, Vue, Angular, Web Components, etc.) needs to be able to authenticate against Dataverse APIs.
What kind of user is the feature intended for?
Frontend developers using React or similar.
What inspired the request?
https://github.com/GPortas/dataverse-react-poc by @GPortas relies on a fork of Dataverse at https://github.com/GPortas/dataverse/tree/session_api_auth that allows a JSESSIONID session cookie to be used to auth against the Dataverse APIs.
To use the words from the README:
"In particular, this PoC focuses on testing the following points:
- New API auth mechanism using JSESSIONID cookie for new front-end requests to the Native API
It is necessary to locally deploy Dataverse with this branch: https://github.com/GPortas/dataverse/tree/session_api_auth
That branch has the JSESSIONID cookie Native API auth implemented, necessary for this PoC."
Any related code?
If we were to accept the changes as-is, they can be previewed here:
develop...GPortas:dataverse:session_api_auth