fief-dev / fief

Users and authentication management SaaS
https://www.fief.dev
Other
488 stars 42 forks source link

Allow multi domains on workspace #109

Closed ruipoliveira closed 1 year ago

ruipoliveira commented 1 year ago

I have an issue on the communication with fief server. Considering two containers:

On container 2, when trying the request to fief server, receive the error _CANT_DETERMINE_VALIDWORKSPACE.

curl --location --request GET 'http://fief-server:8000/admin/api/permissions?query=test:create' 
--header 'Authorization: Bearer **key**'
{"detail":"CANT_DETERMINE_VALID_WORKSPACE"}

The small PR solve my problem, and allow multi domains for one workspace.

frankie567 commented 1 year ago

Hi @ruipoliveira 👋

I understand what you're trying to do, but unfortunately, I'm not willing to merge this into the main branch, as it would have lot of consequences and security issues.

I suggest you open a question in the Discussions so we can review together what is your config now and what you're trying to do.