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

Integration of Shibboleth-Login in Kalamar #223

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

Integration of Shibboleth-Login in Kalamar #223

hebasta opened this issue Oct 23, 2024 · 0 comments
Assignees

Comments

@hebasta
Copy link
Contributor

hebasta commented Oct 23, 2024

It should be possible to login via Shibboleth on certain KorAP instances.

Kalamar-Shibboleth-Workflow:

  1. User clicks on the Shibboleth-Login-Button and is is redirected to either his/her home IdP or a WAYF (Where Are You From) to authenticate via Shibboleth. Can be realized as link.

  2. Apache sends SAML attributes as HTTP headers back as the response.
    Be aware, that there is no guarantee that we get all attributes that are asked. There should be at least PairwiseID, but maybe for example no givenName / surName. So we must take care that variables like user_handle are always optional in Kalamar.

  3. Kalamar sends a token request similar to password grant without username and password, including the HTTP headers (e.g. PairwiseID) from Apache and saves them if necessary.

Example:
Request to korap.ids-mannheim.de/shibboleth -> Apache redirects to IdP -> if authentication is successful the SAML attributes in HTTP Headers will be redirected to korap.ids-mannheim.de/shibboleth -> Kalmamar saves SAML attributes if necessary and sends them to Kustvakt.

See also:

@hebasta hebasta self-assigned this Oct 23, 2024
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

No branches or pull requests

1 participant