Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-02-22 Thread Neha Gupta
Hello Jérôme, I have written a mail to ORCID support and below is the reply from them: - *When do you get that error message? Is it when you try to exchange the 6 digit code for an access token? (I tried the link you sent and I'm able to authorize and see the 6 digit authorization code) If so,

Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-02-14 Thread Jérôme LELEU
Hi, The problem happens at the pac4j level, but it is not because of pac4j. The identity provider returns a specific error which makes authentication impossible. There must be some bad configuration: maybe you have public key and secret while you need member ones. It definitely feels like a

Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-02-13 Thread Neha Gupta
Hello Jérôme, Request you to please elaborate in more detail about how can i run these testcases. I tried to solve the problem in pac4j (i.e. correcting the URL) but after that i am getting below error (Traces and Snapshot attached): - org.pac4j.core.exception.TechnicalException:

Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-02-02 Thread Jérôme LELEU
Hi, Before fixing things in CAS, you should start to make it work in pac4j and run successfully a manual test like these ones: https://github.com/pac4j/pac4j/tree/master/pac4j-oauth/src/test/java/org/pac4j/oauth/run Thanks. Best regards, Jérôme On Thu, Feb 1, 2018 at 4:03 PM, Neha Gupta

Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-02-01 Thread Neha Gupta
Hello Jérôme, Thanks a lot for support. So finally i was able to compile pac4j with the required changes but still not able to access ORCID login page. Still same problem is coming "There has been a problem with the server. If this problem persists please contact administrator" After looking

Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-01-31 Thread Jérôme LELEU
Hi, OK. So let's take problems in order: - regarding the AbstractMethodError error, it certainly comes from the fact that you don't have the same version of pac4j-core and the other pac4j-* modules (check that with a "mvn dependency:tree" or "gradlew dependencies"). It should be 2.2.1 for all

Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-01-30 Thread Neha Gupta
Hello Jérôme, Thanks a lot for update. I tried making changes in the file you suggested but always not able to access CAS login page after that as CAS is throwing some error. Traces(CASTraces.txt) attached. Request you to please help me on this. Also when i tried to package the complete pac4j

Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-01-23 Thread Jérôme LELEU
Hi, In pac4j, you can set the scope of the Orcid client. It doesn't seem possible within the CAS server: https://apereo.github.io/cas/5.2.x/installation/Configuration-Properties.html#orcid That said, this is easy to change: don't hesitate to submit a PR for that in the CAS project. What would

Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-01-22 Thread Neha Gupta
Hello Jérôme, I posted the reply last week but seems it lost somewhere. So posting it again: - *ORCID: -* Problem seems to be with scope. Please see the URL where new scopes are described and also had a talk with ORCID support and according to them the scope /orcid-profile belongs to an older

Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-01-16 Thread Jérôme LELEU
Hi, 1) Orcid The URL looks good: I would try another value for the scope. Have you taken a look at the documentation? 2) Facebook I opened the Facebook console, and I see a "Facebook login" item in the left menu with a "Parameters" submenu, in which you have several flags to enable, especially

Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-01-15 Thread Neha Gupta
Hello Jérôme, Below is the update *ORCID: -* The URL which is getting called before is "http://www.orcid.org/oauth/authorize/?client_id=xxx=%2Forcid-profile%2Fread-limited_type=code_uri=https%3A%2F%2Fdesktop-d8r3ca4%3A8443%2Fcas%2Flogin%3Fclient_name%3Dorcid; After seeing the Network calls it

Re: [cas-user] Problem integrating CAS 5.2.0 with ORCID and FACEBOOK.

2018-01-12 Thread Jérôme LELEU
Hi, Please don't output your id and secret in your emails! - Orcid: I think there is an URL called before the one given in the error message, it should be something like http://www.orcid.org/oauth/authorize/xxx (