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

Adapt for Static Export and Dynamic API Location #3

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

chrisburr
Copy link
Member

When adding TLS to the demo I ran into issues with the OIDC stuff being done server side (and therefore not trusting the custom CA used by the demo).

The main changes are:

  • Introduced a new hook, useDiracxUrl, to dynamically determine the API’s URL based on the client’s window.location.
  • Move to using nginx to serve the application in the docker image.
  • Move the OIDC stuff client side.

I have a corrosponding PR to update the charts repo as well.

@chrisburr chrisburr requested a review from aldbr October 9, 2023 09:23
.github/workflows/containerised.yml Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
src/app/layout.tsx Show resolved Hide resolved
@aldbr aldbr merged commit 7925f82 into DIRACGrid:main Oct 9, 2023
3 checks passed
@chrisburr chrisburr deleted the dev branch October 9, 2023 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants