Viewing 1 post (of 1 total)
  • Author
    Posts
  • #10726
    Michel Castaño
    Keymaster

    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"
    }

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.