logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.39k stars 412 forks source link

How to add a wildcard domain callback URL #6405

Open Haiananan opened 1 month ago

Haiananan commented 1 month ago

My requirement is like this For example, my application website is app.domain.com. At the same time, there are many secondary domain names, such as app2.domain.com app3.domain.com app1023.domain.com These subdomains can be dynamically added and removed at any time, and I cannot use static hardcoding to create a callback URL for each one My idea is to set the callback URL to or .domain.com, but this does not work. How should I set the callback URL in response to the above situation?

charIeszhao commented 3 weeks ago

Wildcard is not supported in OIDC sign-in callback URLs. Can you call Management API to update the callback URL when dynamically creating the app?

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.