Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

261
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda