Skip to content

Redirect after login fails in Docker ComposeΒ #92

@dlabordus

Description

@dlabordus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions