Skip to content

Allow relative urls in the IdentityProvider.register() call #14

@samuelgoto

Description

@samuelgoto

I ran into this issue while trying to put a local server up, taking notes so that it doesn't fall through the cracks.

During development, it is useful to use relative URLs (say, "/config.json", rather than "https://idp.example/config.json") in the register() call so that you can have a local server listening to localhost. The current implementation throws an Error: cross-site configURL when a relative URL is passed.

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