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
753f6085
Commit
753f6085
authored
Nov 10, 2020
by
tobinski
Browse files
Make keycloak realm configurable
parent
8ecf9106
Pipeline
#6078
passed with stage
in 3 minutes and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.env
View file @
753f6085
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_TEST_USER="test"
# please use a valid provider. Otherwise the matching won't work
...
...
src/main.ts
View file @
753f6085
...
...
@@ -23,7 +23,7 @@ Vue.use(VueKeycloakJs, {
config
:
{
url
:
process
.
env
.
VUE_APP_KEYCLOAK_URL
,
clientId
:
'
metagrid-frontend
'
,
realm
:
'
histHub
'
realm
:
process
.
env
.
VUE_APP_KEYCLOAK_REALM
},
onReady
:
()
=>
{
new
Vue
({
...
...
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