Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid state parameter #25

Open
neyanderson opened this issue Apr 13, 2018 · 4 comments
Open

Invalid state parameter #25

neyanderson opened this issue Apr 13, 2018 · 4 comments

Comments

@neyanderson
Copy link

Hi

I've seem sometimes it on log:

16:45:17,622 INFO  [http-nio-8080-exec-26][Liferay70Adapter:55] Provided state parameter '6a4de044ab2e0d5dd245bcaef8408258' does not equal expected '442ce034d59ff6aff3bf09a2ec6ae8c7', cannot
 continue.
13-Apr-2018 16:45:17.623 SEVERE [http-nio-8080-exec-26] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [Main Servlet] in context with path [] threw except
ion
 java.io.IOException: Invalid state parameter
        at nl.finalist.liferay.oidc.LibFilter.exchangeCodeForAccessToken(LibFilter.java:205)
        at nl.finalist.liferay.oidc.LibFilter.processFilter(LibFilter.java:164)
        at nl.finalist.liferay.oidc.OpenIDConnectFilter.processFilter(OpenIDConnectFilter.java:61)

Using CE 7 GA4 + Tomcat + Azure and plugin 0.4.0

Any suggestion ?

@gvanderploeg
Copy link
Collaborator

Apparently a mismatch between sessions on the Liferay side and the IDP side. This could happen when users try to continue a sign-in flow after first interrupting it and letting it time out, I think.
Are you able to reproduce it yourself?

@rambocloack
Copy link

rambocloack commented Apr 16, 2018 via email

@neyanderson
Copy link
Author

I can't reproduce, but some users has report me this message on screen.

image

What you suggest see or analysis on reproduce ?

@rambocloack
Copy link

rambocloack commented Apr 16, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants