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'
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",