It seems strange: if you are not authenticated, both links should be
available on the login page.
Any error in your logs?
2016-09-22 16:47 GMT+02:00 Yauheni Sidarenka <yauheni_sidare...@pubget.com>:
> 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 cas-user+unsubscr...@apereo.org.
> To post to this group, send email to firstname.lastname@example.org.
> 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/
> 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
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit
For more options, visit https://groups.google.com/a/apereo.org/d/optout.