Skip to content

Hanko Elements <hanko-auth /> and <hanko-login /> after login error with: A technical error has occurred #2093

Open
@kivi

Description

@kivi

Checklist

  • I could not find a solution in the existing issues or docs.
  • I agree to follow this project's Code of Conduct.

Describe the bug

Hanko Elements is showing me A technical error has occurred. Please try again later after a successful login.

I am receiving the hanko token by the x-auth-token and opening a page with Element <hanko-profile /> I can see the correct data for the loggedIn user.

Some more details:

  • I am doing a Passcode login
  • Using Vue
  • No event call for @onSessionCreated="redirectAfterLogin"

It stopped working after updating from @teamhanko/hanko-elements ^1.4.0 to ^1.5.0

I am missing a log from Hanko Elements. Nothing is logged and it would be nice, if it could be enabled and it might be easier to detect an error in future.

Reproducing the bug

Open a page with <hanko-auth />
Enter registered eMail id
Receive code and enter code

-> see the error: A technical error has occurred. Please try again later

Logs

No logs in Browser.
The backend logs as usual all good and successful.

Configuration

Hanko Version

1.5.0

OS Hanko Backend

Linux

OS Version Hanko Backend

No response

OS

None

OS Version

No response

Browser Version

Chromium 133.0.6943.126
Firefox 136.0.2 (64-bit)

Environment

None

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions