← Back to team overview

mahara-contributors team mailing list archive

[Bug 1579285] Re: Add SimpleSAMLphp as a managed dependency

 

Patch https://reviews.mahara.org/#/c/6603/1 allows to display the idp
provider name and logo on the discovery page.

To test you will need to first set up a mahara site with simplesaml set
of patches installed https://reviews.mahara.org/#/q/topic:SimpleSAML

Then set up 2 (or more) institutions and add SAML plugin to each

When adding SAML to an institution paste in some valid metadata XML in
the 'Institution IdP SAML Metadata' field.

Then edit the metadata - find the 'md:OrganizationName' tag and make
sure it has different value to 'md:OrganizationDisplayName'

eg:
<md:OrganizationName xml:lang="en">My Company</md:OrganizationName>
<md:OrganizationDisplayName xml:lang="en">My Company Identity Server</md:OrganizationDisplayName>

To add a logo to the discovery page, eg the catalyst logo, add the
following just below the '<md:IDPSSODescriptor ... >' line

     <md:Extensions>
        <mdui:UIInfo xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui">
           <mdui:Logo width="120" height="30" xml:lang="en">https://catalyst.net.nz/sites/all/themes/sauce/images/catalyst-logo.svg</mdui:Logo>
        </mdui:UIInfo>
     </md:Extensions>

And save the updated metadata

Once you have at least 2 institutions with saml plugins logout and hit
the 'SSO' button

It should take you to a page where you can view/choose the idp you want
to use.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1579285

Title:
  Add SimpleSAMLphp as a managed dependency

Status in Mahara:
  In Progress

Bug description:
  Add SimpleSAMLphp as a managed dependency
  of auth/saml using make to pull to auth/saml/extlib

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1579285/+subscriptions


References