Re: [cas-user] Re: Implementing ORCID auth: Problem with cas.authn.pac4j.oauth2[0].profile-url

2023-11-08 Thread Meysam Shirazi
I don't recommend implementing OAuth20ProfileController(your link is too old any way), I just suggest develop a wrapper for delegate oauth profile api(https://api.sandbox.orcid.org/v3.0/{user}/record). On Wednesday, November 8, 2023 at 11:59:58 PM UTC+3:30 Ray Bon wrote: > And this property >

Re: [cas-user] CAS 6.6.x CSS with SSL Offload

2023-11-08 Thread Meysam Shirazi
I did not test it by myself because I'm not using embedded tomcat, anyway the main config was server.tomcat.redirect-context-root = false and the /hweproxy was a sample config so you should replace your context path. I think including "/themes/**" pattern is the best way in this situation. On

[cas-user] CAS 6.6.13 : No qualifying bean of type 'org.springframework.transaction.TransactionManager'

2023-11-08 Thread Mohamed Amdouni
Hello, Given a cas project with these dependencies : implementation "org.apereo.cas:cas-server-support-saml" implementation "org.apereo.cas:cas-server-support-saml-idp" implementation "org.apereo.cas:cas-server-support-saml-idp-metadata-jpa" implementation

Re: [cas-user] Re: Implementing ORCID auth: Problem with cas.authn.pac4j.oauth2[0].profile-url

2023-11-08 Thread Ray Bon
Aleix, That documentation is _very_ old. There have been a lot of changes to cas since 2014; not the least of which is the change from org.jasig to org.apereo. Reading that document may provide some general understanding. You can increase the logging level [debug|trace] to see what classes are

Re: [cas-user] CAS 6.6.x CSS with SSL Offload

2023-11-08 Thread atilling
I know the F5 is sending x-forwarded-proto, x-forwarded-port, x-forwarded-by, and x-forwarded-for I tried the setting you suggested from that case | server.servlet.context-path = /hweproxy | breaks the application altogether, the other settings seem to have no effect. Looking at

Re: [cas-user] Re: Implementing ORCID auth: Problem with cas.authn.pac4j.oauth2[0].profile-url

2023-11-08 Thread Ray Bon
And this property warn Ray On Wed, 2023-11-08 at 07:44 -0800, Aleix Mariné wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. So, I have found

[cas-user] Re: Implementing ORCID auth: Problem with cas.authn.pac4j.oauth2[0].profile-url

2023-11-08 Thread Aleix Mariné
So, I have found this documentation. Should I implement a class that implements this interface? h) OAuth20ProfileController (org.jasig.cas.support.oauth.web) This controller returns a

[cas-user] Re: Implementing ORCID auth: Problem with cas.authn.pac4j.oauth2[0].profile-url

2023-11-08 Thread Aleix Mariné
So, I have found this documentation that explain the inner classes used by CAS to manage the OAUTH stack. Should I reimplement this class? h) OAuth20ProfileController

[cas-user] Re: Implementing ORCID auth: Problem with cas.authn.pac4j.oauth2[0].profile-url

2023-11-08 Thread Aleix Mariné
Dear Meysam, Thank you for your response. I imagined the possibility of adding a bean that acts as a wrapper for that particular endpoint, but I do not know what bean I need to implement... Do you have any hint or tip of how this should be implemented? Or where I can find a documentation

[cas-user] Backporting commit # 407b142 to 6.6.x maintenance branch

2023-11-08 Thread Doug C
I submitted a pull request, PR # 5844 , to have the change, commit # 407b142 , made by mmoayyed on Feb 24, 2023 also