Make the tests green
Fix the snippet and make it more through.
This commit is contained in:
parent
c729e15112
commit
53fc8ebbe0
|
@ -1,9 +1,25 @@
|
||||||
[
|
[
|
||||||
{oauth2_pem_config2,
|
{oauth2_pem_config2,
|
||||||
"auth_oauth2.resource_server_id = new_resource_server_id",
|
"auth_oauth2.resource_server_id = new_resource_server_id
|
||||||
|
auth_oauth2.additional_scopes_key = my_custom_scope_key
|
||||||
|
auth_oauth2.default_key = id1
|
||||||
|
auth_oauth2.signing_keys.id1 = test/config_schema_SUITE_data/certs/key.pem
|
||||||
|
auth_oauth2.signing_keys.id2 = test/config_schema_SUITE_data/certs/cert.pem",
|
||||||
[
|
[
|
||||||
{rabbitmq_auth_backend_oauth2, [
|
{rabbitmq_auth_backend_oauth2, [
|
||||||
{resource_server_id,<<"new_resource_server_id">>}]}
|
{resource_server_id,<<"new_resource_server_id">>},
|
||||||
|
{additional_rabbitmq_scopes, <<"my_custom_scope_key">>},
|
||||||
|
{key_config, [
|
||||||
|
{default_key, <<"id1">>},
|
||||||
|
{signing_keys,
|
||||||
|
#{
|
||||||
|
<<"id1">> => <<"I'm not a certificate">>,
|
||||||
|
<<"id2">> => <<"I'm not a certificate">>
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
]}
|
||||||
|
],[]
|
||||||
|
}
|
||||||
].
|
].
|
Loading…
Reference in New Issue