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 (
https://github.com/pac4j/pac4j/blob/master/pac4j-oauth/src/main/java/org/pac4j/scribe/builder/api/OrcidApi20.java#L20
)

Can you post it here?

- Facebook:

Are you sure you defined the callback URL:
https://desktop-d8r3ca4:8443/cas/login?client_name=Facebook in your
Facebook app console?

Thanks.
Best regards,
Jérôme


On Fri, Jan 12, 2018 at 10:57 AM, Neha Gupta <neha.1.gu...@gmail.com> wrote:

> Dear CAS people,
>
> Good morning!
>
> I am trying to delegate CAS authentication to Orcid and Facebook and as
> such created war file after updating "pom.xml" and "cas.properties" as
> follows: -
>
> *pom.xml*
>
> <dependency>
>             <groupId>org.apereo.cas</groupId>
>             <artifactId>cas-server-support-pac4j-webflow</artifactId>
>             <version>5.2.0</version>
>         </dependency>
> <dependency>
>
> *cas.properties*
>
>  cas.authn.pac4j.orcid.id=xxx
>  cas.authn.pac4j.orcid.secret=yyy
>  cas.authn.pac4j.orcid.clientName=orcid
>
> and similarly given for Facebook as well but when i am trying to do so i
> am getting error with both Orcid and Facebook
>
> *Problem with ORCID: -*
>
> "There has been a problem with the server". If problem persists please
> contact ORCID support.  URL which CAS is hitting is "
> https://orcid.org/signin?oauth&null#show_login&quot; which seems little
> weird to me. I already contacted Orcid support group but according to them
> there is no problem at their end and asked me to look into the URL.
>
> *Problem with Facebook: -*
>
> "Sorry something went wrong"*. *URL which CAS is hitting is
> "https://www.facebook.com/v2.8/dialog/oauth?response_type=code&client_id=
> 476366362744200&redirect_uri=https%3A%2F%2Fdesktop-d8r3ca4%
> 3A8443%2Fcas%2Flogin%3Fclient_name%3DFacebook&scope=email%
> 2Cuser_likes%2Cuser_about_me%2Cuser_birthday%2Cuser_
> education_history%2Cuser_hometown%2Cuser_relationship_
> details%2Cuser_location%2Cuser_religion_politics%
> 2Cuser_relationships%2Cuser_work_history%2Cuser_website%
> 2Cuser_photos%2Cuser_events%2Cuser_actions.music%
> 2Cbadscope&state=2fb5c80427"
> <https://www.facebook.com/v2.8/dialog/oauth?response_type=code&client_id=476366362744200&redirect_uri=https%3A%2F%2Fdesktop-d8r3ca4%3A8443%2Fcas%2Flogin%3Fclient_name%3DFacebook&scope=email%2Cuser_likes%2Cuser_about_me%2Cuser_birthday%2Cuser_education_history%2Cuser_hometown%2Cuser_relationship_details%2Cuser_location%2Cuser_religion_politics%2Cuser_relationships%2Cuser_work_history%2Cuser_website%2Cuser_photos%2Cuser_events%2Cuser_actions.music%2Cbadscope&state=2fb5c80427>
>
>
> I request you to please look into the matter and  let me know in case some
> configuration is missing.
>
> Wish you a nice weekend.
>
>
> Thanks and Regards
>
> Neha Gupta
>
> --
> - 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 subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CAF2xoWpeD5M7iiRLyy7Bqhgx_
> dzvyo45L%3DVsUTxMiFDXg4W6Ag%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAF2xoWpeD5M7iiRLyy7Bqhgx_dzvyo45L%3DVsUTxMiFDXg4W6Ag%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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 subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279LyX%3DFv0zJjEpo55V2zW5F%2BtQrsRhEq%2B5Ph3R5-iP1kFYg%40mail.gmail.com.

Reply via email to