Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend: Configurable OAuth #1913

Merged
merged 10 commits into from
Apr 20, 2023
Merged

Conversation

ivakoleva
Copy link
Contributor

@ivakoleva ivakoleva commented Apr 18, 2023

OAuth config was priorly hardcoded in multiple files. We need to be able to produce an image, enabling OAuth configuration upon deployment.

Introduced an appConfig.json asset, and a lean service to read the config upon initialization at first.

Testing done: ci/cd

OAuth config was priorly hardcoded in multiple files.
We need to be able to produce an image, enabling OAuth configuration
upon deployment.

Introduced an appConfig.json asset, and a lean service
to read the config upon initialization at first.

Testing done: did `npm start` locally and verified that
I successfully authenticate using CSP STG.

TODO: need to fix the AppConfigService init for testing performed at
the end of install_data_pipelines.sh:
`npm run test:headless`

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
ivakoleva and others added 3 commits April 18, 2023 19:36
OAuth config was priorly hardcoded in multiple files.
We need to be able to produce an image, enabling OAuth configuration
upon deployment.

Introduced an appConfig.json asset, and a lean service
to read the config upon initialization at first.

Testing done: ci/cd

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
OAuth config was priorly hardcoded in multiple files.
We need to be able to produce an image, enabling OAuth configuration
upon deployment.

Introduced an appConfig.json asset, and a lean service
to read the config upon initialization at first.

Testing done: ci/cd

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
ivakoleva and others added 2 commits April 19, 2023 16:48
OAuth config was priorly hardcoded in multiple files.
We need to be able to produce an image, enabling OAuth configuration
upon deployment.

Introduced an appConfig.json asset, and a lean service
to read the config upon initialization at first.

Testing done: ci/cd

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
@ivakoleva ivakoleva enabled auto-merge (squash) April 19, 2023 13:50
ivakoleva and others added 4 commits April 19, 2023 20:16
OAuth config was priorly hardcoded in multiple files.
We need to be able to produce an image, enabling OAuth configuration
upon deployment.

Introduced an appConfig.json asset, and a lean service
to read the config upon initialization at first.

Testing done: ci/cd

Signed-off-by: ivakoleva <iva.koleva@clearcode.bg>
@ivakoleva ivakoleva merged commit c5a4718 into main Apr 20, 2023
3 of 4 checks passed
@ivakoleva ivakoleva deleted the person/ikoleva/frontend-configurable-auth branch April 20, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants