Merge "change the default Keycloak auth_url"

This commit is contained in:
Jenkins 2017-08-06 06:43:53 +00:00 committed by Gerrit Code Review
commit 01297e9288
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' OPENID_CONNECT_USERINFO = '%s/realms/%s/protocol/openid-connect/userinfo'
KEYCLOAK_OPTS = [ 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',), help='Keycloak authentication server ip',),
cfg.StrOpt('insecure', default=False, cfg.StrOpt('insecure', default=False,
help='If True, SSL/TLS certificate verification is disabled'), help='If True, SSL/TLS certificate verification is disabled'),

View File

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