Skip to content

Unable to test silent refresh in local development #1364

@DASPRiD

Description

@DASPRiD

This might be related to #1068, getting the same error as those users. I did some digging around, and if I understand @aeneasr post on this issue here correctly, this is basically caused by the silent renew requiring additional user consent, unless the callback URL has an HTTPS scheme.

This is clearly fine for normal deployment, but it breaks in local development. Would it be possible to whitelist "localhost" return URLs for that case, possibly as a server config variable? Browsers actually follow the same pattern, e.g. with service workers, which normally require https, except when the host is "localhost".

Metadata

Metadata

Assignees

No one assigned

    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