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

utils: add invenio_saml-compatible account-setup #117

Conversation

martinobersteiner
Copy link
Collaborator

adds tugraz_account_setup, which can add the tugraz_authenticated role to users after they log in via SAML

to enable this for a specific IdP, add it to its configuration as follows:

SSO_SAML_IDPS = {
    ...
    "<idp-name>": {
        ...
        "acs_handler": acs_handler_factory("idp", account_setup=tugraz_account_setup),
        // add here to enable new account-setup   ^
    }
}

@martinobersteiner martinobersteiner merged commit 52fb93c into tu-graz-library:master Jul 8, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants