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

eduID: Epic Overview #116

Open
dbrgn opened this issue Sep 26, 2013 · 17 comments
Open

eduID: Epic Overview #116

dbrgn opened this issue Sep 26, 2013 · 17 comments

Comments

@dbrgn
Copy link
Member

dbrgn commented Sep 26, 2013

See https://wiki.shibboleth.net/confluence/display/SHIB2/Integrating+Nginx+and+a+Shibboleth+SP+with+FastCGI

@lukasmartinelli
Copy link
Contributor

We need native Shibboleth support provided by the Shibboleth FastCGI daemon that is then called by the Nginx FastCGI authorizer (in order to support a FastCGI authorizer, one also has to apply a patch to Nginx).

This is really quite a workflow 😅 I just tried to do this on debian vm got stuck for now. One also has to rebuild Shibboleth with FastCGI support (which requires other custom built libraries).

Switch also provides some documentation about how to install a shibboleth service provider
https://www.switch.ch/aai/docs/shibboleth/SWITCH/2.5/sp/deployment/

@dbrgn
Copy link
Member Author

dbrgn commented Sep 1, 2014

It's quite a mess :)

@lukasmartinelli
Copy link
Contributor

I managed to compile an older version of shibboleth and follow the steps for nginx integration. We now have a custom version of shibboleth-sp below /opt.

Next thing will be to mess around with shibboleth2.xml which the heart of the whole configuration process. Do you know a bit more what the next steps are for getting an authentication cycle?

You already registered studentenportal at the AAI registry?

@dbrgn
Copy link
Member Author

dbrgn commented Sep 2, 2014

Next thing will be to mess around with shibboleth2.xml which the heart of the whole configuration process. Do you know a bit more what the next steps are for getting an authentication cycle?

I basically don't know anything about Shibboleth :D

You already registered studentenportal at the AAI registry?

Partially. I still have the documents somewhere, they've been signed over a year ago though. I'm not sure if they'll still accept them. We can try though.

@dbrgn
Copy link
Member Author

dbrgn commented Oct 22, 2014

Interesting idea: https://github.com/edx/configuration/wiki/Setting-Up-External-Authentication#shibboleth

You could run a separate Apache instance just for the Shibboleth endpoint.

@dbrgn
Copy link
Member Author

dbrgn commented Apr 2, 2015

I still have the documents (SWITCHaai Federation Partner Agreement) here, but they're so old now that I will discard them.

If you decide to implement this feature, you should re-apply and fill out all documents. They need to be signed by the SWITCHaai Participant (VSHSR), a SWITCHaai member that recommends you (HSR or another participant) and SWITCH.

@saspeed
Copy link
Contributor

saspeed commented Feb 29, 2016

The IT Helpdesk just asked me about the current state of the application. (by sending me a scanned version of the very document you mentioned.) I think I can't do this on my own so would you dbrgn like to join me to implement it this semester?

@dbrgn
Copy link
Member Author

dbrgn commented Feb 29, 2016

The first step would probably be to either switch to Apache to be able to use the official Shibolleth client, or to compile a custom Nginx version with the https://github.com/nginx-shib/nginx-http-shibboleth module.

I'd probably lean towards the first approach, even though I like Nginx much much more than Apache.

If you want, @saspeed, you could do the Nginx -> Apache migration as the first step. This also requires the use of the mod_xsendfile module (which is supported natively in Nginx). This module is used to control the access to the document downloads. Once that's done, I could probably help with the implementation (although I don't really know how the integration with Shibolleth would look like in practice).

Also, don't forget this part:

If you decide to implement this feature, you should re-apply and fill out all documents. They need to be signed by the SWITCHaai Participant (VSHSR), a SWITCHaai member that recommends you (HSR or another participant) and SWITCH.

@saspeed
Copy link
Contributor

saspeed commented Mar 14, 2016

Having not much experience with python deployment on apache I'll consider this issue a major leap in hs16 which ill need to do a lot of research for.

@dbrgn
Copy link
Member Author

dbrgn commented Mar 14, 2016

Possibly @bananatreedad might be interested in a collaboration, he's currently studying in Biel. I told him about the Studentenportal yesterday.

A multi-site solution would require Shibboleth.

@dbrgn
Copy link
Member Author

dbrgn commented Mar 14, 2016

Regarding Python deployment on Apache I think mod_wsgi is the way to go.

@fabianhauser
Copy link
Member

@Murthy10 here the issue about the eduID-Login implementation. Note that this issue was originally created for SwitchAAI.

@Murthy10
Copy link
Contributor

Answer of mail request at switch.ch:

Guten Tag

Um auf Ihrem Dienst das Login mit der SWITCH edu-ID einzuführen, müssten
Sie einen Service Provider in der SWITCHaai Federation betreiben.

Ihr Verein müsste Federation Partner werden. Weitere Informationen
hierzu finden Sie hier:

https://www.switch.ch/aai/join/partners/

Technisch müsste Ihr Portal einen SAML2.0 Service Provider einbinden.
Wir empfehlen und bieten Support für die Open Source Software Shibboleth:

https://www.switch.ch/aai/guides/sp/

https://www.switch.ch/aai/support/fedpartner-deployment/

Die Nutzung anderer Implementierungen ist grundsätzlich schon möglich,
allerding mit sehr eingeschränktem Support unsererseits. Auch sollten
diese die grundlegenden Anforderungen, die in Higher Education
Federations nötig sind, erfüllen:

https://kantarainitiative.github.io/SAMLprofiles/fedinterop.html

https://kantarainitiative.github.io/SAMLprofiles/saml2int.html

(Shibboleth erfüllt diese Anforderungen von allen uns bekannten
Implementierungen am Besten)

Wenn Sie spezifische Features der SWITCH edu-ID nutzen möchten, die über
die Funktionalitäten von SWITCHaai hinausgehen, könnten diese
Informationen hilfreich sein:

https://www.switch.ch/edu-id/services/

Wir hoffen, diese Informationen ermöglichen Ihnen einen ersten Überblick
über die Thematik.

Freundliche Grüsse

Thomas Bärecke

@dbrgn
Copy link
Member Author

dbrgn commented Sep 23, 2020

I think this is still relevant.

@fabianhauser
Copy link
Member

Hrm. I thought they had an easier integration than the whole SwitchAAi-Shibboleth-thing in the meantime...

@fabianhauser fabianhauser mentioned this issue Nov 23, 2020
@fabianhauser
Copy link
Member

fabianhauser commented Nov 23, 2020

Steps to eduID Implementation:

Organisational part: #270
Technical part: #271 #272

@fabianhauser
Copy link
Member

Current state: @Murthy10 has started with the setup, but the budget did not suffice to finish the implementation. Next steps: @openhsr/vorstand (@flObvious ) coordinates with gnice how to continue (or finds a volunteer who wants to implement it.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants