-
Notifications
You must be signed in to change notification settings - Fork 2
getOAUTHtoken
schweini edited this page May 12, 2018
·
2 revisions
Buena referencia en: https://www.flecharoja.com/blog/2017-12/mh-guia-idp/
Por ejemplo:
curl -X "POST" "https://idp.comprobanteselectronicos.go.cr/auth/realms/rut-stag/protocol/openid-connect/token"
-H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8'
--data-urlencode "client_id=api-stag"
--data-urlencode "username=[email protected]"
--data-urlencode 'password=W$/JX/AS@K);1]I;u|+6'
--data-urlencode "grant_type=password"