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

Redirect after login fails in Docker Compose #92

Open
dlabordus opened this issue Oct 10, 2022 · 0 comments
Open

Redirect after login fails in Docker Compose #92

dlabordus opened this issue Oct 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@dlabordus
Copy link

dlabordus commented Oct 10, 2022

Subject of the issue

Often after login on the Docker Compose environment using KeyCloak the redirect fails and KeyCloak returns a error.

Your environment

Both Chrome and Firefox

Steps to reproduce

Tell us how to reproduce this issue.

  • Go to the URL 'http://localhost'
  • Login screen is shown, log in use the scl-data-editor user
  • After successful login the browser is redirect and the following message is shown 'state from argument does not match state restored from session'

This is not always happening, but if the login was successful, restart the docker-compose environment and try it again. In this cases it mostly went wrong for me during second time trying to login.

Expected behaviour

After login is successful being redirected to the start page of OpenSCD.

Actual behaviour

Error page show, going to http://localhost/ again most of the time solves the issue and the start page is shown.

@dlabordus dlabordus added the bug Something isn't working label Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant