Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
metagrid-go
metagrid-vue
Commits
47a0ac8f
Commit
47a0ac8f
authored
Nov 12, 2020
by
Tobinsk
Browse files
Disable keycloak iframe
parent
57dbdf68
Changes
2
Hide whitespace changes
Inline
Side-by-side
.env
View file @
47a0ac8f
VUE_APP_API_URL="http://localhost:8080"
VUE_APP_KEYCLOAK_ENABLE="false"
VUE_APP_KEYCLOAK_REALM="HistHub"
VUE_APP_KEYCLOAK_URL="https://
sso.histhub
.ch/auth"
VUE_APP_KEYCLOAK_URL="https://
iam.nubes.dodis
.ch/auth"
VUE_APP_TEST_USER="test"
# please use a valid provider. Otherwise the matching won't work
VUE_APP_TEST_PROVIDER="gnd"
...
...
src/main.ts
View file @
47a0ac8f
...
...
@@ -18,7 +18,8 @@ if (process.env.VUE_APP_KEYCLOAK_ENABLE === "true") {
}
Vue
.
use
(
VueKeycloakJs
,
{
init
:
{
onLoad
:
keycloakLogin
onLoad
:
keycloakLogin
,
checkLoginIframe
:
false
,
},
config
:
{
url
:
process
.
env
.
VUE_APP_KEYCLOAK_URL
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment