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

[FR] Auto provisioning of user based on a claim #149

Closed
T0mWz opened this issue Apr 16, 2021 · 0 comments · Fixed by #150 or #151
Closed

[FR] Auto provisioning of user based on a claim #149

T0mWz opened this issue Apr 16, 2021 · 0 comments · Fixed by #150 or #151
Assignees

Comments

@T0mWz
Copy link
Contributor

T0mWz commented Apr 16, 2021

For the Dutch Sync-And-Share service, we requires an specific OpenID Connect claim on which basis we do auto provisioning of a user. See also; https://wiki.surfnet.nl/display/surfconextdev/Attributes+in+SURFconext#AttributesinSURFconext-eduPersonEntitlementEntitlements

Example result what we could receive from an IdP.

{
\"acr\":\"urn:oasis:names:tc:SAML:2.0:ac:classes:Password\",
\"eduperson_entitlement\":[ \"blabla\" ],
\"eduperson_principal_name\":\"john.doe\", // username
\"email\":\"[email protected]\",
\"email_verified\":true,
\"family_name\":\"Doe\",
\"given_name\":\"John\",
\"name\":\"John Doe\",
\"sub\":\"14d2e30500462aa3499e165ade96d47edaded978\",
\"updated_at\":1618577357
}

This would require a check for a specific claim with corresponding value in the OpenID Connect app.

  'openid-connect' => [
    ..
    ..
    'auto-provision' => [
      ...
      'provisioning-claim' => 'eduperson_entitlement',
      'provisioning-attribute' => 'blabla',

    ]
  ],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants