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

Association JIT provisioned users' functions fails #21461

Open
Thumimku opened this issue Oct 23, 2024 · 0 comments
Open

Association JIT provisioned users' functions fails #21461

Thumimku opened this issue Oct 23, 2024 · 0 comments
Labels

Comments

@Thumimku
Copy link
Contributor

Thumimku commented Oct 23, 2024

Describe the issue:
We got a regression this year, when analysing the impact of the regression with other functionalities following issues were found.

Issue 1- MyAccount Personal Info is broken

How to reproduce:

  • Configure a JIT provisioning scenario with association. Please make sure to add the following configuration to the deployment.toml file.
[authentication.jit_provisioning]
associating_to_existing_user = "true"
  • Login for the first time (the association will be created with the local user).
  • Access MyAccount with the local user
Screenshot 2024-10-23 at 10 43 56

Expected behavior:
MyAccount Personal Info should work

Issue 2- Obtained JWT token has invalid subect id

How to reproduce:

  • Configure a JIT provisioning scenario with association. Please make sure to add the following configuration to the deployment.toml file.
[authentication.jit_provisioning]
associating_to_existing_user = "true"
  • Change the Access token type in OIDC protocol to JWT
  • Request for scopes like openid internal_login profile
  • Login for the first time (the association will be created with the local user).
  • Get the JWT token and check the sub claim
  • Try to call SCIM me call it fails with following msg.
{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:Error"
    ],
    "detail": "User 748ca69d-57b9-45c2-80e4-6fe3bad80674 does not exist in: PRIMARY",
    "status": "404"
}

Expected behavior:
SCIM call should work.

Environment information (Please complete the following information; remove any unnecessary fields) :

  • Product Version: IS 7.10-m2
  • OS:Ma
  • Database: H2
  • Userstore: Primary
@Thumimku Thumimku changed the title Association JIT provision users functions fails Association JIT provisioned users' functions fails Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant