Merge "change the default Keycloak auth_url"
This commit is contained in:
commit
01297e9288
@ -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'),
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user