Method to use the refresh token

Created on 14 November 2017, about 7 years ago
Updated 24 April 2024, 7 months ago

Currently this module can return a refresh token after authentication, if available. (Most likely you will need to add "offline_access" to your requested scopes to get one). However, there's no way of actually refreshing the access and ID token.
Here's a patch that adds the refreshTokens() method to the base plugin class. You can use it in you own logic whenever the expiration of your token is reached and you need new tokens.

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium interx Flanders

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024