Viewing 0 reply threads
Viewing 0 reply threads
- You must be logged in to reply to this topic.
Tagged: api token, infinite token, no caducity, token
To create a token without caducity simply follow these steps:
1. Do a POST to your Pegasus with the following payload:
https://pgasus1.pegasusgateway.com/api/login
{"username":"user@domain.com",
"password":"current-pass",
"scheme":"infinite"}
As seen here the important line to add is "scheme":"infinite"
That-s all, Pegasus gateway will respond with a token without caducity:
{
"message": "User successfully authenticated",
"app": null,
"auth": "3bcf8485aed9ecfc21aa43f2777dbce33faxxxxxb3a6632c3a4b1fh5"
}
email: support@digitalcomtech.com
slack: DCT Support Channel
chat: DCT Main Page
developer chat: Gitter
Thank you for Signing Up |
*Entering your email address in this form indicates that you agree to our Privacy Policy. You can withdraw your consent at any time.