I am using drf_social_auth2 library The problem is to get another access token from same refresh token. I can't find the url to send refresh token to get fresh access token. Also, I ca't find all customizable settings of this library.
From the documentation itself on how to get refresh token :
curl -X POST -d "grant_type=refresh_token&client_id=<client_id>&client_secret=<client_secret>&refresh_token=<your_refresh_token>" http://localhost:8000/auth/token
<client_id> and <client_secret> are the keys generated automatically. you can find in the model Application you created.
Update : @wagnerdelima (main maintainer of the library) said in the comment that you need to use the latest version of github.com/wagnerdelima/drf-social-oauth2, version 1.1.4. It has bug fixes etc. pypi.org/project/drf-social-oauth2