Skip to content

Cannot log into web console using Safari #1572

Closed

Description

@liggitt

On login, the API access token is sent to the web console in a URL fragment in a redirect:

Location: https://localhost:8443/console/oauth#access_token=...

There is a WebKit bug that drops the fragment from the redirect when redirecting to the same domain: https://bugs.webkit.org/show_bug.cgi?id=24175

That means the browser arrives at https://localhost:8443/console/oauth, and the console has no API token to use to contact the API.

Note that WebKit keeps the fragment when redirecting to a different domain, so if the web console is hosted on a separate host (or port), login works

Edit: Turns out we had a bug in the way we built a redirect URL which triggered the safari bug. Fixed in #1583

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions