Re: [cas-user] Configuration property overrides via environment variables does not work

2020-06-25 Thread Jérôme Steve
Hi Paul, I had the same probleme. What I notice : If you coment or you remove property in app.properties, the corresponding env var is used. But if you have it in the app.properties, property will not be erasse by env var. But for me is same as other spring-boot app. Maybe what you are

Re: [cas-user] Configuration property overrides via environment variables does not work

2020-06-25 Thread Ray Bon
Paul, According to https://apereo.github.io/cas/6.1.x/configuration/Configuration-Properties.html#json-service-registry the property is cas.serviceRegistry.json.location. I am not sure how you make comparisons with lower case and upper case for what looks to be the same property. You might

[cas-user] OpenID

2020-06-25 Thread Bryan Wooten
We are trying to test: https://github.com/cas-projects/openid-sample-java-webapp But in the CAS logs I see: [1;31m2020-06-24 13:43:52,517 ERROR [org.springframework.boot.web.servlet.support.ErrorPageFilter] - ESC[m org.thymeleaf.exceptions.TemplateInputException: Error resolving template

Re: [cas-user] Configuration property overrides via environment variables does not work

2020-06-25 Thread Paul Roemer
Hey Ray, this was just an example. We actually used the property to set the JSON registry location for testing: cas.service-registry.json.location=file:etc/cas/services Also, Docker is in use and then you end up with something like that 1) docker run --rm -it -v

Re: [cas-user] Configuration property overrides via environment variables does not work

2020-06-25 Thread Ray Bon
Paul, Is the value in properties 'secrect' a typo? What about case, SECRET != secret? Ray On Thu, 2020-06-25 at 08:04 -0700, Paul Roemer wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. Hey

[cas-user] Configuration property overrides via environment variables does not work

2020-06-25 Thread Paul Roemer
Hey guys, today we noticed that we are not able to override properties set in some application properties file by environment variables. For example, we have some property 'secrect' that we configure with value 'unknown' in application-production.properties. Now, for the deployment we want to

Re: [cas-user] Re: OpenID Connect CAS module does not display required attributes (as iss, sub, aud, exp) if claims are set.

2020-06-25 Thread Stef
you should remove the attributeReleasePolicy and replace it with "scopes" : [ "java.util.HashSet", [ "openid", "profile", "email", "address" ] ] Le jeu. 25 juin 2020 à 15:59, Jakub Fridrich < jakub.fridr...@klikpojisteni.cz> a écrit : > I tried adding to Release policy (to service),

[cas-user] Re: OpenID Connect CAS module does not display required attributes (as iss, sub, aud, exp) if claims are set.

2020-06-25 Thread Jakub Fridrich
I tried adding to Release policy (to service), but sub is not showing still. "attributeReleasePolicy" : { "@class" : "org.apereo.cas.oidc.claims.OidcProfileScopeAttributeReleasePolicy", "allowedAttributes" : [ "java.util.ArrayList", [ "sub", "first_name", "last_name", "email" ] ] }

[cas-user] Re: OpenID Connect CAS module does not display required attributes (as iss, sub, aud, exp) if claims are set.

2020-06-25 Thread Stéphane Delcourt
I think you have to list the scopes available in the service definition like described here: https://apereo.github.io/cas/development/installation/OIDC-Authentication.html#scope-based-claims Le jeudi 25 juin 2020 à 13:04:33 UTC+2, Jakub Fridrich a écrit : > info: CAS 6.2.0-RC5 builded from

[cas-user] OpenID Connect CAS module does not display required attributes (as iss, sub, aud, exp) if claims are set.

2020-06-25 Thread Jakub Fridrich
info: CAS 6.2.0-RC5 builded from cas-overlay-template Problem: OpenID Connect in userinfo endpoint does not display required attributes (as iss, sub, aud, exp) if claims are set. Scopes requested by client: openid, profile, email, address, phone Claims requested by client: {"userinfo":{