Re: [cas-user] CAS6 SAML usernameAttribute

2023-10-23 Thread atilling
Yes the service manager web app, built from curl https://casinit.herokuapp.com/starter.tgz -d type=cas-management-overlay -d baseDir=cas-sm | tar -xzvf - It was the json created by the web app that I modified to change the attribute. On Monday, October 23, 2023 at 10:54:03 PM UTC-4 Dmitriy Ko

Re: [cas-user] CAS6 SAML usernameAttribute

2023-10-23 Thread atilling
Manually editing the json to change it to mail worked. Any idea why the service manager is returning the wrong attribute names? On Monday, October 23, 2023 at 3:21:21 PM UTC-4 Dmitriy Kopylenko wrote: > Hi. > > Try this: > > usernameAttributeProvider: > { > @class: > org.apereo.cas.service

Re: [cas-user] CAS6 SAML usernameAttribute

2023-10-23 Thread Dmitriy Kopylenko
By service manager you mean services management web app? If so, it could be a bug there. D. On Mon, Oct 23, 2023 at 17:09 atilling wrote: > Manually editing the json to change it to mail worked. > Any idea why the service manager is returning the wrong attribute names? > > On Monday, October 23

Re: [cas-user] CAS6 SAML usernameAttribute

2023-10-23 Thread Dmitriy Kopylenko
Hi. Try this: usernameAttributeProvider: { @class: org.apereo.cas.services.PrincipalAttributeRegisteredServiceUsernameProvider usernameAttribute: mail } D. On Mon, Oct 23, 2023 at 2:53 PM atilling wrote: > Working on a SAML integration where the subject needs to be the user's > em

[cas-user] CAS6 SAML usernameAttribute

2023-10-23 Thread atilling
Working on a SAML integration where the subject needs to be the user's email address but despite the changes I've made it still releases the username attribute. usernameAttributeProvider: { @class: org.apereo.cas.services.PrincipalAttributeRegisteredServiceUsernameProvider usernameAt