Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

258
Views
DRF SOCIAL OAUTH 2 detail

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.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

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

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!