[GH-ISSUE #781] How to allow all the subdomain of my main domain for the API using CORS_WILDCARD? #7816

Open
opened 2026-04-21 19:48:42 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @nikunjmishra1998 on GitHub (Sep 27, 2024).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/781

problem description

I want to allow only all of the subdomain of my main domain to access my API using CORS_WILDCARD. So please guide me How can I achieve this?
and if I add CORS_WILDCARD then also API is accessible from Postman. I want to disable API hit from postman also using CORS_WILDCARD.

your instance configuration

No response

Originally created by @nikunjmishra1998 on GitHub (Sep 27, 2024). Original GitHub issue: https://github.com/imputnet/cobalt/issues/781 ### problem description I want to allow only all of the subdomain of my main domain to access my API using CORS_WILDCARD. So please guide me How can I achieve this? and if I add CORS_WILDCARD then also API is accessible from Postman. I want to disable API hit from postman also using CORS_WILDCARD. ### your instance configuration _No response_
GiteaMirror added the instance hosting help label 2026-04-21 19:48:42 -05:00
Author
Owner

@wukko commented on GitHub (Sep 27, 2024):

#780?

<!-- gh-comment-id:2378569183 --> @wukko commented on GitHub (Sep 27, 2024): #780?
Author
Owner

@wukko commented on GitHub (Sep 27, 2024):

why make two of the same exact issue?

<!-- gh-comment-id:2378570969 --> @wukko commented on GitHub (Sep 27, 2024): why make two of the same exact issue?
Author
Owner

@nikunjmishra1998 commented on GitHub (Sep 27, 2024):

Please give me a way to achive it

<!-- gh-comment-id:2378590383 --> @nikunjmishra1998 commented on GitHub (Sep 27, 2024): Please give me a way to achive it
Author
Owner

@kampride9 commented on GitHub (Sep 27, 2024):

I would also like to implement this feature. Could you please provide the steps for this?

<!-- gh-comment-id:2379042578 --> @kampride9 commented on GitHub (Sep 27, 2024): I would also like to implement this feature. Could you please provide the steps for this?
Sign in to join this conversation.