Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-17 Thread mohamed gamal
Maybe this is what is causing your config not to work with us, we are using version 6.1.0-RC4. On Sun, Nov 17, 2019 at 2:33 PM Abdelrahman Halawa wrote: > CAS v5.3.x > > > > > On Sun, 17 Nov 2019 at 09:44, mohamed gamal > wrote: > >> Mr Abdelrahman, thanks for your support. >> which version are

Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-17 Thread Abdelrahman Halawa
CAS v5.3.x On Sun, 17 Nov 2019 at 09:44, mohamed gamal wrote: > Mr Abdelrahman, thanks for your support. > which version are you using ? > > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributi

Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-16 Thread mohamed gamal
Mr Abdelrahman, thanks for your support. which version are you using ? -- - 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 subscrib

Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-14 Thread Abdelrahman Halawa
Hi Mohammed, below is my JSON file, you are free to use it and try. but you must configure the SharePoint to use UPN and mail claims as the JSON shows. Hint: It is a must to use the *realmcas *certificate as the signing certificate for SharePoint config. { "@class" : "org.apereo.cas.ws.idp.serv

Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-13 Thread mohamed gamal
Unfortunatly Mr Abdelrahman, > > we are still facing the same error -- - 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 subscribe

Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-12 Thread Abdelrahman Halawa
Hi Mohammed, Everything looks good except you need to set the token type in JSON file to be SAMLV1.1. SharePoint supports SAMLV1.1 only and the default in CAS is SAMLv2. Change your JSON file as below and try again .. "evaluationOrder" : 2, "tokenType" : " http://docs.

Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-12 Thread mohamed gamal
Dear Abdelrahman, Below you can find the configuration and ther service json. Thanks for your support cas.authn.wsfedIdp.idp.realm=urn:org:apereo:cas:ws:idp:realm-CAS cas.authn.wsfedIdp.idp.realmName=CAS cas.authn.wsfedIdp.sts.subjectNameIdFormat=unspecified cas.authn.wsfedIdp.sts.encryptTokens=

Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-12 Thread mohamed gamal
Dear Abdelrahman, Below you can find the configuration and ther service json. Thanks for your support cas.authn.wsfedIdp.idp.realm=urn:org:apereo:cas:ws:idp:realm-CAS cas.authn.wsfedIdp.idp.realmName=CAS cas.authn.wsfedIdp.sts.subjectNameIdFormat=unspecified cas.authn.wsfedIdp.sts.encryptTokens=f

Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-12 Thread Abdelrahman Halawa
Hi Mohammed, Could you share your WS-Fed configuration with the CAS and JSON file of the service as well may I help you. On Tue, Nov 12, 2019 at 7:39 AM mohamed gamal wrote: > Hello Steve, > Thanks for your support. > but now I am getting this error > DEBUG [org.apereo.cas.support.realm.Uri

Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-11 Thread mohamed gamal
Hello Steve, Thanks for your support. but now I am getting this error DEBUG [org.apereo.cas.support.realm.UriRealmParser] - │ │2019-11-11 13:22:51,868 WARN [org.apache.cxf.sts.token.provid

Re: [cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-10 Thread Steve Cheung
Hi mohamed, Please try this whether can help to solve your problem. 1. Enable the service registry module in CAS /etc/cas/config/cas.properties cas.serviceRegistry.initFromJson=false cas.serviceRegistry.json.location:file:/etc/cas/services 2. Place the enabled services file under /etc/cas/servic

[cas-user] Application Not Authorized to Use CAS, After authentication.

2019-11-09 Thread mohamed gamal
Hello everyone, I am trying to integrate cas with a share point application using WS-FED I added the service file and the application connects normally to cas. the app redirects the user to cas for authentication, the user is authenticated by cas and I can see in logs that the user is authenti