• Resolved marioskyr

    (@marioskyr)


    Hello,
    I was wondering if there is a way to refresh your access token using the free version of miniorange’s API Authentication plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support abhiladdha07

    (@abhiladdha07)

    Hi @marioskyr,

    Thanks for reaching out.

    As I understand, you are looking to refresh the JWT token or regenerate the existing JWT token using the endpoint of our plugin’s JWT Authentication method.

    So, We would like to inform you that the token refresh can only be done using the standard OAuth 2.0 refresh token grant and that feature is available only in our premium plan along with more features and extra security benefits.

    The JWT token which is already generated can’t be used again for regenerating the new token as if this is allowed then anyone can use the expired token to regenerate and access the resources. So, that is why using the OAuth 2.0 token endpoint request, you receive both the JWT token (access_token) as well refresh_token and that refresh token is not publicly used for accessing resources and it is used only for generating a new JWT token(access_token).

    Also, it will be great if you can tell us more about your use case and the reason for the token refresh so we can guide you better.

    Thanks,
    Team miniOrange

    Thread Starter marioskyr

    (@marioskyr)

    @abhiladdha07 with the oauth 2.0 one is it possible to also get the user information?

    Plugin Support abhiladdha07

    (@abhiladdha07)

    Hi @marioskyr,

    Yes, using the OAuth 2.0 authentication’s access token, you will get the user information as well.

    Let us know if you have any other questions or want more information about the OAuth 2.0 authentication for WP REST API access.

    Thanks,
    Team miniOrange

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