flask-dance
flask-dance copied to clipboard
Enable token refresh for Gitlab
Gitlab removed support for optionally expiring tokens in Gitlab 15.0. Adding in the refresh as optional since there may be self hosted instances in the wild older then 15.0.
https://docs.gitlab.com/ee/integration/oauth_provider.html#access-token-expiration