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

Provision a Provider via JVM: provider data is not being added to authenticationproviderrow #11090

Open
ekraffmiller opened this issue Dec 11, 2024 · 1 comment
Labels
Feature: Superuser Dashboard GREI Re-arch Issues related to the GREI Dataverse rearchitecture SPA These changes are required for the Dataverse SPA Type: Bug a defect

Comments

@ekraffmiller
Copy link
Contributor

ekraffmiller commented Dec 11, 2024

What steps does it take to reproduce the issue?
The issue was encountered in the SPA OIDC integration code: IQSS/dataverse-frontend#565
The easiest way to recreate the issue is to setup the SPA development environment described in issue 565

After running ./run-env.sh 10959-bearer-token-auth-ext, check the Postgres table authenticationproviderrow. It should contain a row for the OIDC provider, but it only has one row, for the builtin user.

  • When does this issue occur?
    Configuring a dataverse for OIDC provider using JVM options

  • Which page(s) does it occurs on?
    The missing data preventing the user from being shown in Admin Dashboard -> Manage Users

  • What happens?

  • To whom does it occur (all users, curators, superusers)?

  • What did you expect to happen?
    a row in the table should exist for the OIDC provider

Which version of Dataverse are you using?
The 10959-bearer-token-auth-ext image

Any related open or closed issues to this bug report?
IQSS/dataverse-frontend#565

Screenshots:

The authenticateduser table, showing an OIDC user successfully registered in the Dataverse:

Screenshot 2024-12-11 at 9 54 56 AM

The oidc user was also added to authenticateduserlookup:

Screenshot 2024-12-11 at 9 53 19 AM

The oidc provider is missing from authenticationproviderrow:

Screenshot 2024-12-11 at 9 52 25 AM

@ekraffmiller ekraffmiller added Type: Bug a defect SPA These changes are required for the Dataverse SPA Feature: Superuser Dashboard GREI Re-arch Issues related to the GREI Dataverse rearchitecture labels Dec 11, 2024
@pdurbin
Copy link
Member

pdurbin commented Dec 20, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Superuser Dashboard GREI Re-arch Issues related to the GREI Dataverse rearchitecture SPA These changes are required for the Dataverse SPA Type: Bug a defect
Projects
Status: No status
Development

No branches or pull requests

2 participants