Polish Authorization Server Sample

Change primary user's username to "subject" to align with
oauth2resourceserver sample.
This commit is contained in:
Josh Cummings
2018-09-13 16:21:10 -06:00
parent f2140dd5f5
commit 17dd95d525
3 changed files with 4 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ public class OAuth2AuthorizationServerApplicationTests {
this.mvc.perform(post("/oauth/token")
.param("grant_type", "password")
.param("username", "user")
.param("username", "subject")
.param("password", "password")
.header("Authorization", "Basic cmVhZGVyOnNlY3JldA=="))
.andExpect(status().isOk());