Tuyen Nguyen The created GTNPORTAL-3591:
-------------------------------------------
Summary: [Linkedin oauth] Exception is displayed in browser if user refuse
access permission
Key: GTNPORTAL-3591
URL:
https://issues.jboss.org/browse/GTNPORTAL-3591
Project: GateIn Portal
Issue Type: Bug
Reporter: Tuyen Nguyen The
Assignee: Tuyen Nguyen The
Step to reproduce:
- Enable and configure oauth login with LinkedIn
- Do signin with Login
- In LinkedIn's authorize page, click cancel to refuse access permission from app
=> Exception is displayed in browser:
{code}
java.lang.IllegalArgumentException: Must provide a valid string as verifier
org.scribe.utils.Preconditions.check(Preconditions.java:84)
org.scribe.utils.Preconditions.checkNotNull(Preconditions.java:31)
org.scribe.model.Verifier.<init>(Verifier.java:22)
org.gatein.security.oauth.linkedin.LinkedinProcessorImpl.processOAuthInteraction(LinkedinProcessorImpl.java:109)
org.gatein.security.oauth.web.OAuthProviderFilter.doFilter(OAuthProviderFilter.java:108)
org.gatein.sso.integration.SSODelegateFilter$SSOFilterChain.doFilter(SSODelegateFilter.java:119)
org.gatein.security.oauth.webapi.OAuthDelegateFilter.doFilter(OAuthDelegateFilter.java:56)
org.gatein.sso.integration.SSODelegateFilter.doFilter(SSODelegateFilter.java:60)
org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78)
org.gatein.portal.init.PortalCheckInitFilter.doFilter(PortalCheckInitFilter.java:66)
{code}
The root cause is LinkedIn processor does not handle refuse case.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)