fief-dev / fief

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

Allow multi domains on workspace #109

Closed ruipoliveira closed 2 years ago

ruipoliveira commented 2 years 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 2 years 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.