• Resolved koikaam

    (@koikaam)


    Hi nicu_m,

    is there a way for the URL to expire in 30 seconds and generate a new one? (OR $timestamp)

    Thank you! ??

    Have nice day!

    • This topic was modified 4 years, 7 months ago by koikaam.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nicu_m

    (@nicu_m)

    Hello koikaam,

    You JWT has a property called iat and you can generate JWT that is valid only for 30 seconds.
    This way, your URL will be valid only for 30 seconds and after that, you will get an error “Expired JWT”.

    Thread Starter koikaam

    (@koikaam)

    Hello nicu_m,

    in the meantime i found it, tested it and it works perfect! ??

    “iat”: 1586360909,
    “exp”: 1586360939

    Your plugin and support are great too!

    Thank you very much!

    Plugin Author nicu_m

    (@nicu_m)

    Hello,

    I’m glad to hear that you found a solution.

    Please don’t forget to rate this plugin.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘expiring url’ is closed to new replies.