Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
samuelgoto opened this issue Oct 30, 2024 · 0 comments
Open

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

samuelgoto opened this issue Oct 30, 2024 · 0 comments

Comments

@samuelgoto
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant