Configure CAS with Office365

45 views
Skip to first unread message

Thach Le

unread,
Jan 4, 2023, 4:24:00 AM1/4/23
to CAS Developer <cas-dev@apereo.org>, cas...@lists.jasig.org
Hi all,

I'm researching how to configure CAS Authentication with Office365.

I have followed this guideline "CAS - SAML SP Integrations (apereo.github.io)" to configure as below in cas.properties:

cas.saml-sp.office365.metadata=/etc/cas/services/federationmetadata.xml
cas.saml-sp.office365.description=Login with Microsoft Office 365
cas.saml-sp.office365.name-id-attribute=email
cas.saml-sp.office365.name-id-format=transient

My expectation is a menu "Office 365" is displayed in "External Identity Providers" but it is not OK.

image.png
Notes:
Below configuration to support 2 External Identity Providers "LOGIN_WITH_GOOGLE" and "WINDOWS LIVE":

# Login with Google
cas.authn.pac4j.google.secret=GOCSPX-sm.....aQW4_H8fl0J
cas.authn.pac4j.google.scope=EMAIL_AND_PROFILE
cas.authn.pac4j.google.clientName=Login_with_Google

# Display Menu: OK
cas.authn.pac4j.windows-live.id=f6d8b0c.....27202f23f3
cas.authn.pac4j.windows-live.secret=ae238da6....8a5c1

How can I configure "cas.saml-sp.office365...." to integrate Office 365 into CAS 6.6.3?

Best regards,
Thach.Le
Reply all
Reply to author
Forward
0 new messages