MAIF / izanami

Izanami is a centralized versatile feature flag solution, well suited for micro service architectures.
https://maif.github.io/izanami/
Apache License 2.0
184 stars 42 forks source link

hardcoded url for oidc button on login page #826

Closed keltakmaster closed 2 months ago

keltakmaster commented 2 months ago

I tried to deploy the software with openid connect, but despite my efforts to configure the variables, I found out that this line:

https://github.com/MAIF/izanami/blob/073351ded067b752ff5032ffc45759fb542551eb/izanami-frontend/src/pages/login.tsx#L168

always takes precedence when I click on the "openid connect" button on the login page.

Shouldn't it use the env var "IZANAMI_EXPOSITION_URL"?

Cheers.

ptitFicus commented 2 months ago

Hi,

Good catch thanks !

I'll release a fix in upcoming days.

Cheers