<@U04UQ68083H> is it possible to use wildcard URLs...
# ory-copilot
h
@chilly-king-10285 is it possible to use wildcard URLs in the Allowed Redirect URLs list
c
A message from kapa.ai
Based on the provided extracts, there is no explicit mention of using wildcard URLs in the Allowed Redirect URLs list. However, Ory does use glob matching for matching HTTP requests in access rules, which allows for wildcard-like behavior. For example, in the access rules configuration, you can define rules that match specific patterns in URLs:
Copy code
yaml - id: "ory:kratos:public"     match:       url: "<http://127.0.0.1:4455/.ory/kratos/public/<**>>"
In this example,
<**>
acts as a wildcard, matching any path under
<http://127.0.0.1:4455/.ory/kratos/public/>
. However, this is used for defining access rules, not for the Allowed Redirect URLs list. For the Allowed Redirect URLs, you need to specify the exact URLs that are allowed:
Copy code
yaml selfservice:     allowed_return_urls:       - <https://www.myapp.com/>
In this example,
<https://www.myapp.com/>
is explicitly allowed as a return URL. There is no mention of wildcard support in this context. For more detailed information, you may want to refer to the [Ory documentation](https://www.ory.sh/docs/concepts/redirects).