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 wildcard redirect to domains #4

Closed
wants to merge 1 commit into from

Conversation

abador
Copy link

@abador abador commented Jul 6, 2021

Related issue

issue #943

Proposed changes

Checklist

Further comments

I've implemented wildcards using existing config and almost the same logic. It supports scheme configuration like any other domain wildcard. Domains are verified(also via a public suffix: golang.org/x/net/publicsuffix) during config parse and if we try to wildcard all domains eg: http://* it will be filtered out as an invalid wildcard

driver/config/config.go Outdated Show resolved Hide resolved
driver/config/config_test.go Show resolved Hide resolved
x/http_secure_redirect.go Outdated Show resolved Hide resolved
@abador abador force-pushed the allow-wildcard-redirect-to-domains branch from b9c8c66 to e558525 Compare July 12, 2021 09:49
@abador abador force-pushed the allow-wildcard-redirect-to-domains branch from e558525 to 67d79ef Compare July 12, 2021 09:56
@abador
Copy link
Author

abador commented Jul 12, 2021

Created for upstream: ory#1528

@abador abador closed this Jul 12, 2021
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

Successfully merging this pull request may close these issues.

2 participants