[post man test sample]
[get access token api]
post
http://localhost:8080/oauth/token
type: basic auth / client_id : foo , client_secret: bar
[{"key":"client_id","value":"foo","description":"","type":"text","enabled":false},{"key":"username","value":"user","description":"","type":"text","enabled":true},{"key":"password","value":"test","description":"","type":"text","enabled":true},{"key":"scope","value":"read","description":"","type":"text","enabled":true},{"key":"grant_type","value":"password","description":"","type":"text","enabled":true}]
[refresh token api]
post 타입 http://localhost:8080/oauth/token
type: basic auth / client_id : foo , client_secret: bar
[{"key":"client_id","value":"foo","description":"","type":"text","enabled":true},{"key":"username","value":"user","description":"","type":"text","enabled":false},{"key":"password","value":"test","description":"","type":"text","enabled":false},{"key":"scope","value":"read","description":"","type":"text","enabled":false},{"key":"grant_type","value":"refresh_token","description":"","type":"text","enabled":true},{"key":"refresh_token","value":"c1aebef1-ff44-487f-9139-0fbfcd0097e9","description":"","type":"text","enabled":true}]
'BackEnd FrontEnd > Spring' 카테고리의 다른 글
java.sql.SQLException: Unknown system variable 'query_cache_size' 오류가 날때 (0) | 2019.12.10 |
---|---|
IOC (0) | 2017.09.27 |
AOP (0) | 2017.09.27 |
Spring 특징 (0) | 2017.09.27 |