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

OIDC Integration: Problem Provisioning a Provider via JVM #565

Open
ekraffmiller opened this issue Dec 11, 2024 · 0 comments
Open

OIDC Integration: Problem Provisioning a Provider via JVM #565

ekraffmiller opened this issue Dec 11, 2024 · 0 comments
Labels
GREI Re-arch GREI re-architecture-related Waiting

Comments

@ekraffmiller
Copy link
Contributor

ekraffmiller commented Dec 11, 2024

The Dataverse configuration sets up an OIDC Provider, but it doesn't add a row to authenticationproviderrow, there for the user is not visible in the Dataverse Dashboard ->Manage Users View.

What steps does it take to reproduce the issue?

Step 1: Run the Development Environment

  1. Execute npm i.
  2. Navigate with cd packages/design-system && npm i && npm run build.
  3. Return with cd ../../.
  4. Ensure you have a .env file similar to .env.example, with the variable VITE_DATAVERSE_BACKEND_URL=http://localhost:8000.
  5. Make sure your dev-env/.env file is filled with the appropriate data. For the REGISTRY variable, please set ghcr.io, as we will use a Handle unregistered users in BearerTokenAuthMechanism and implement user registration mechanism dataverse#10972 dataverse image.
  6. Navigate with cd dev-env.
  7. Start the environment using ./run-env.sh 10959-bearer-token-auth-ext .
  8. To verify the environment, visit http://localhost:8000/ and check your local Dataverse installation.

Step 2: Test the feature in the SPA

  1. Click the Log In button in the header.
  2. You will be redirected to the Keycloak login page
  3. Enter the credentials, there are 4 pre-set users in keycloak, you can log in with any of those users:
  1. After the first login, you will be redirected to finish the registration process, where you will have to accept the terms (although there are none for now) and you will also be able to optionally add the affiliation and position.
  2. After submitting the form, you will be redirected to the “root” collection page with a welcome success alert and some confetti. 🎉 .
  3. After the user has been registered, go to the JSF frontend and login as dataverseAdmin. Go to Dashboard -> Manage Users view. The newly created user is not displayed, only the Dataverse Admin.

Related Issues
An related issue has been created for this in Dataverse: IQSS/dataverse#11090

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GREI Re-arch GREI re-architecture-related Waiting
Projects
Status: No status
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant