Skip to content

Commit e3fcd45

Browse files
Update README.md
1 parent 3b3f358 commit e3fcd45

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,29 @@ Clientes:
4444
http://localhost:8081/h2-console
4545
JDBC URL: jdbc:h2:file:~/teste
4646

47+
Para todos o request para a aplicação é necessário passar o token:
48+
49+
http://localhost:8088/oauth/token
50+
51+
Passarr no body form/data
52+
53+
scope - web
54+
grant_type - password
55+
username - bruno
56+
password - pwd
57+
58+
Passar no Authorization
59+
60+
usename - cliente
61+
password - clientepwd
62+
63+
Autenticar user:
64+
65+
http://localhost:8088/user
66+
67+
Passar o Token nas requisições:
68+
69+
Authorization OAuth 2.0 incluir o token gerado
4770

4871
Para cada serviço foi criado um repositório no GitHub segue links para maiores informações:
4972

0 commit comments

Comments
 (0)