Polish Authorization Server Sample
Change primary user's username to "subject" to align with oauth2resourceserver sample.
This commit is contained in:
@@ -17,7 +17,7 @@ Or import the project into your IDE and run `OAuth2AuthorizationServerApplicatio
|
||||
Once it is up, this request asks for a token with the "message:read" scope:
|
||||
|
||||
```bash
|
||||
curl reader:secret@localhost:8081/oauth/token -d grant_type=password -d username=user -d password=password
|
||||
curl reader:secret@localhost:8081/oauth/token -d grant_type=password -d username=subject -d password=password
|
||||
```
|
||||
|
||||
Which will respond with something like:
|
||||
@@ -35,5 +35,5 @@ Which will respond with something like:
|
||||
You can also so the same with the `writer` client:
|
||||
|
||||
```bash
|
||||
curl writer:secret@localhost:8081/oauth/token -d grant_type=password -d username=user -d password=$PASSWORD
|
||||
curl writer:secret@localhost:8081/oauth/token -d grant_type=password -d username=subject -d password=password
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user