Hi, It seems strange: if you are not authenticated, both links should be available on the login page.
Any error in your logs? Thanks. Best regards, Jérôme 2016-09-22 16:47 GMT+02:00 Yauheni Sidarenka <[email protected]>: > Hello all, > > I was testing CAS server 5.0.0RC2 when I faced an UI problem related to > Pac4j delegation to Facebook and Google. > I have configured CAS server properly and usually authentication via > Facebook or Gogle works fine. > > But there is one strange case: > 1) User goes to /cas/login -> The CAS login page appears with two links: > for FB and Google (see 1.png attached) > 2) User clicks on link to FB -> If user logs in for the first time, FB app > will ask user to grant permissions (see 2.png attached) > 3) User declines FB app request by clicking "Cancel" -> User's browser is > redirected to the CAS login page, but the page does not contain a link to > FB (see 3.png attached) > > All three steps above reproduce issue for Google OAuth provider too. > > Any suggestions how to avoid such cases? > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/ > . > To view this discussion on the web visit https://groups.google.com/a/ > apereo.org/d/msgid/cas-user/a9a1cd53-f6fd-4283-b423- > 6a796662d559%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/a9a1cd53-f6fd-4283-b423-6a796662d559%40apereo.org?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/a/apereo.org/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279Ly9_BbhkbPrSWTQ8RWnQz0vO93XBa-SBDb%3DiGWzFCAOhQ%40mail.gmail.com. For more options, visit https://groups.google.com/a/apereo.org/d/optout.
