rokwire / core-building-block

Building block which handles core functions for the Rokwire platform - users, accounts, profiles, organizations, authentication and authorization.
Apache License 2.0
3 stars 2 forks source link

[FEATURE] Enable CORS #632

Closed shurwit closed 1 year ago

shurwit commented 1 year ago

Is your feature request related to a problem? Please describe. To support the Admin web app, we need to enable CORS on all BBs.

Describe the solution you'd like We should upgrade to the latest version of the auth library and apply the webauth.SetupCORS function. We should enable the allowed origins and headers to be set in the configs collection.