change the default Keycloak auth_url

Change-Id: I438a7218fb82bed6b743002965e0d391caa419c5
This commit is contained in:
Eyal 2017-08-03 15:44:59 +03:00
parent 3442f960f9
commit 090ebec771
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ from webob import exc
OPENID_CONNECT_USERINFO = '%s/realms/%s/protocol/openid-connect/userinfo'
KEYCLOAK_OPTS = [
cfg.StrOpt('auth_url', default='http://127.0.0.1',
cfg.StrOpt('auth_url', default='http://127.0.0.1:9080/auth',
help='Keycloak authentication server ip',),
cfg.StrOpt('insecure', default=False,
help='If True, SSL/TLS certificate verification is disabled'),

View File

@ -37,8 +37,8 @@ HEADERS = {
'X-Project-Id': 'my_realm'
}
OPENID_CONNECT_USERINFO = 'http://127.0.0.1/realms/my_realm/protocol/' \
'openid-connect/userinfo'
OPENID_CONNECT_USERINFO = 'http://127.0.0.1:9080/auth/realms/my_realm/' \
'protocol/openid-connect/userinfo'
USER_CLAIMS = {
"sub": "248289761001",