Bookmarklet seems to point to public keycloak instance not to local
Opened this issue · 6 comments
Looking at the resulting JS Code at:
https://keep.corrently.cloud/keeper/bookmarklet
it has:
<script src="https://login.nunux.org/auth/js/keycloak.js" type="text/javascript"></script>
I assume it should be:
<script src="https://keep.corrently.cloud/auth/js/keycloak.js" type="text/javascript"></script>
I think the code comes directly from the source and is not get customized during a make deploy
based on .env settings.
You right! It's hard coded here: https://github.com/nunux-keeper/keeper-web-app/blob/master/public/index.html#L20
It's no big deal as long as you we are using the same Keycloak version.
I should replace this by a template variable.
I just fixed the webapp. Can you pull a fresh keeper-web-app image and retry?
I was not able to test as the Bookmarklet does now not honor the K_REALM Url which causes a redirect to the https://keep.corrently.cloud/keeper/keycloak.json => Auth_Server_URL and this does not contain the Servername (see previous issue)
What's the value of K_REALM ?
K_REALM="https://keep.corrently.cloud/keeper"
In my Bookmarklet
It's correct... so I don't really understand the pb you have. Bookmarklet is not working as expected?