Add customize client metadata example in dynamic client registration how-to
Closes gh-1044
This commit is contained in:
committed by
Joe Grandja
parent
7f1cde0117
commit
ef6b1aceca
@@ -56,7 +56,7 @@ public class DynamicClientRegistrationTests {
|
||||
private String port;
|
||||
|
||||
@Test
|
||||
public void dynamicallyRegisterClient() throws Exception {
|
||||
public void dynamicallyRegisterClientWithCustomMetadata() throws Exception {
|
||||
MockHttpServletResponse tokenResponse = this.mvc.perform(post("/oauth2/token")
|
||||
.with(httpBasic("registrar-client", "secret"))
|
||||
.param(OAuth2ParameterNames.GRANT_TYPE, AuthorizationGrantType.CLIENT_CREDENTIALS.getValue())
|
||||
|
||||
Reference in New Issue
Block a user