Thank you for replying.

Azure Authentication working now.

How can I remove username and password login form from CAS?

I added this properties to cas.properties file, but username and password 
login form still remains

cas.authn.accept.users=
cas.authn.accept.name=
cas.authn.accept.credentialCriteria=

четверг, 14 ноября 2019 г., 12:01:56 UTC+2 пользователь Andy Ng написал:
>
> Hi,
>
> Your method of declaring the property for azure part would not work, see 
> this:
> *cas.properties (this would not work)*
> configurationKey=cas.authn.pac4j.oidc[0].azure
>
> ${configurationKey}.id=OUR_ID
> ${configurationKey}.secret=OUR_SECRET
> ${configurationKey}.principalAttributeId=
> ..........................
>
> You should be instead, doing something like this:
>
> *cas.properties (this should work)*
> cas.authn.pac4j.oidc[0].azure.id=OUR_ID
> cas.authn.pac4j.oidc[0].azure.secret=OUR_SECRET
> cas.authn.pac4j.oidc[0].azure.principalAttributeId=
> ..........................
>
>
> Also, you probably don't want to add all properties for Azure into your 
> cas.properties, consider removing some of the properties which probably is 
> not necessary
>
> That means, instead of listing all of the cas.properties, you probably can 
> make do with the following azure properties *Not tested*:
> cas.authn.pac4j.oidc[0].azure.discoveryUri=
> cas.authn.pac4j.oidc[0].azure.logoutUrl=
> cas.authn.pac4j.oidc[0].azure.scope=openid
> cas.authn.pac4j.oidc[0].azure.id=OUR_ID
> cas.authn.pac4j.oidc[0].azure.secret=SECRET
>
> See if the above info helps...
>
>
> Cheers!
> - Andy
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/787a18c7-df48-46a7-98ff-9698429733c6%40apereo.org.

Reply via email to