• Resolved robertodev87

    (@robertodev87)


    Hi! I really like all the features of this plugin. I would like to know if there is a way to set an expiration date (eg 1hour) and then send a refresh token request, since I know that refresh tokens are more secure.

    If not, it could be a good improvement for your plugin.

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nicu Micle

    (@nicu_m)

    Hello @robertodev87,

    First of all, thank you for suggesting new features for this plugin. I will add this feature to my todo list.

    Currently, on /auth endpoint you can generate JWT and set an expiration time for a JWT. Also, after this token is expired, you can refresh it. Please check the section Authentication.

    An expired token can be refreshed on /auth/refresh.

    Best regards,
    Nicu.

    Thread Starter robertodev87

    (@robertodev87)

    Hello Nicu, thank you for the answer! I will try to refresh it following this procedure.

    Best regards!

    Roberto

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Token refresh’ is closed to new replies.