Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f6f0a81

Browse files
update client id
1 parent 01119c5 commit f6f0a81

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎readme.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ mvn docker:start
1717

1818
### Informações adicionais
1919

20-
- client: ```6697a105331c91173a76381ebd249278```
20+
- client: ```spring-rest-oauth2-jwt```
2121

22-
- secret: ```B6813193F1D7EC8BF5B40183CAC2C160A946E43DFAA300C053292```
22+
- secret: ```B6813193F1D7EC8BF5B40```
2323

2424
- Usuário comum: gabrielczar and 123456
2525

@@ -34,7 +34,7 @@ mvn docker:start
3434

3535
```http request
3636
curl client:secret@localhost:8080/oauth/token -d grant_type=password -d username=usr -d password=pwd
37-
curl 6697a105331c91173a76381ebd249278:B6813193F1D7EC8BF5B40183CAC2C160A946E43DFAA300C053292@localhost:8080/oauth/token -d grant_type=password -d username=gabrielczar -d password=123456
37+
curl spring-rest-oauth2-jwt:B6813193F1D7EC8BF5B40@localhost:8080/oauth/token -d grant_type=password -d username=gabrielczar -d password=123456
3838
```
3939

4040
```json

‎src/main/resources/application.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ security:
1616
security-realm: Spring Boot REST API OAuth2 JWT Realm
1717

1818
jwt:
19-
client-id: 6697a105331c91173a76381ebd249278
20-
client-secret: B6813193F1D7EC8BF5B40183CAC2C160A946E43DFAA300C053292
19+
client-id: spring-rest-oauth2-jwt
20+
client-secret: B6813193F1D7EC8BF5B40
2121
grant-type: password
2222
scope-read: read
2323
scope-write: write

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /