ubc / iPeer

Peer Evaluation System
http://ipeer.ctlt.ubc.ca
Other
17 stars 18 forks source link

SSO / SAML Integration #646

Open belvin92 opened 4 years ago

belvin92 commented 4 years ago

Hi All,

I was wondering how do i workout with the iPeer, CakePHP Framework, that i can implement a Single Sign-on protocol to the application?

Is there any guidance that can be provided?

:)

xcompass commented 4 years ago

Hi @belvin92 , iPeer authentication is handled by https://github.com/xcompass/CakePHP-Guard-Plugin. It came with ldap and Shibboleth authentication module. What protocol are you looking at? Please feel free to send a pull request if it doesn't exist in the repo.

belvin92 commented 4 years ago

Apologies for the late reply.

I am not sure about the idap and shibboleth authentication module. Basically the idea is using the same creds (PW and ID) in the University that i am trying to understand the process of doing so.

As well do i need to install with https://simplesamlphp.org/download

xcompass commented 4 years ago

You will need to figure out what protocol your university uses? Could be saml/shib, CAS, LDAP or something else. They all can do same creds login, e.g. SSO.

On Sun, Aug 2, 2020, 11:09 PM belvin92 notifications@github.com wrote:

Apologies for the late reply.

I am not sure about the idap and shibboleth authentication module. Basically the idea is using the same creds (PW and ID) in the University that i am trying to understand the process of doing so.

As well do i need to install with https://simplesamlphp.org/download

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ubc/iPeer/issues/646#issuecomment-667823713, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADRVDF24HOIK3RRRDBCIT3R6ZIAVANCNFSM4OZRWZRQ .

belvin92 commented 4 years ago

Okay thank you for the reply. As far as i understand, the university uses SAML V2 Protocol but i will double check it. Thanks and i will be in touch

xcompass commented 4 years ago

In that case, you can try to enable shibboleth. Here is the instruction: https://ipeer.ctlt.ubc.ca/wiki/GuardPlugin#ShibbolethModule

You will need to install shibboleth sp and configure your apache on your server.https://wiki.shibboleth.net/confluence/display/SP3/Installation

belvin92 commented 4 years ago

Thank you for the guide links.. I will try to do this asap as i have other projects to accomplish