-
Notifications
You must be signed in to change notification settings - Fork 59
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
npm run dev:oidc
broken
#1034
Comments
Temporary fix: --- a/main.nginx.conf
+++ b/main.nginx.conf
@@ -96,7 +96,7 @@ http {
location = /client-config.json {
include ./common-headers.nginx.conf;
- return 200 "{}";
+ return 200 "{ \"oidcEnabled\": \"true\" }";
}
location / { |
* generate public/client-config.js at foreman startup * remove nginx's special handling for client-config.js Closes getodk#1034
Hmm I'm actually having trouble reproducing this.
My intention at least was to keep Could it be that the environment variable isn't getting passed through for some reason? Could you try |
I've actually been having the thought that now that Frontend requests /client-config.json, we might be able to take a more flexible approach than what we currently do with |
It's working for me now too 🤔 I guess I was mistaken, or perhaps there was a caching issue. Either way, this can be closed. |
It looks like
npm run dev:oidc
no longer serves frontend with OIDC enabled:Possibly affected by 9236c61
The text was updated successfully, but these errors were encountered: