great-laptop-90610
09/26/2024, 11:53 AMbrief-egg-61061
09/26/2024, 11:53 AMbrief-egg-61061
09/26/2024, 11:53 AMyaml selfservice: allowed_return_urls: - https://*.<http://myapp.com/|myapp.com/>
In this example, any subdomain of <http://myapp.com|myapp.com>
is allowed as a return URL ([source](https://www.ory.sh/docs/kratos/concepts/browser-redirect-flow-completion#redirection)). For the passkey origins, you can use a wildcard subdomain in the Ory API project configuration. Here is an example: json 'cors_admin': { 'properties': { 'enabled': { 'description': 'Whether CORS is enabled for this endpoint.', 'type': 'boolean' }, 'origins': { 'description': 'The allowed origins. Use `*` to allow all origins. A wildcard can also be used in the subdomain, i.e. `https://*.<http://example.com|example.com>` will allow all origins on all subdomains of `<http://example.com|example.com>`.', 'items': { 'type': 'string' }, 'type': 'array' } }, 'type': 'object' }
In this example, any subdomain of <http://example.com|example.com>
is allowed as an origin ([source](https://www.ory.sh/docs/reference/api#ory-apis---project---methods---setproject---request-body)).