Skip to content

Commit

Permalink
add FrontendUrl to default config
Browse files Browse the repository at this point in the history
  • Loading branch information
consolethinks committed Jan 10, 2025
1 parent b276c84 commit b8a749e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configs/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ WebServer:
Auth:
Disable: false
SessionDuration: 28800
FrontendUrl: "http://scicat.example/ingestor"
OAuth2:
ClientID: "ingestor"
RedirectURL: "http://localhost:8888/callback"
Expand All @@ -42,6 +43,7 @@ WebServer:
The necessary fields to adapt are
- `FrontendUrl`: The url of the frontend should be put here, so that after login the backend can redirect there.
- `OAuth2.RedirectURL`: Host (localhost if running on desktop or host name when running as service) and port (same as Misc.Port) of the ingestor instance.
- `OIDC.IssuerURL`: replace `[KEYCLOAK_URL]` with URL of keycloak instance to be used
- `JwksURL`: replace `[KEYCLOAK_URL]` with URL of keycloak instance to be used
Expand Down
1 change: 1 addition & 0 deletions configs/openem-ingestor-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ WebServer:
Auth:
Disable: false
SessionDuration: 28800
FrontendUrl: "http://localhost"
OAuth2:
ClientID: "ingestor"
RedirectURL: "http://localhost:8888/callback"
Expand Down

0 comments on commit b8a749e

Please sign in to comment.