Jump to content


Collect response from openid login


  • Please log in to reply
1 reply to this topic

SolventSine67 #1 Posted 13 November 2020 - 06:37 PM

    Private

  • Player
  • 16975 battles
  • 3
  • [POV] POV
  • Member since:
    07-19-2013

How do I get a response from when a user logs into the link I give them from an openid login form from the api?

 

I'm trying to collect a users account id and the access token and I'm using python if that helps?

 



Forcellrus #2 Posted 04 December 2020 - 05:17 PM

    Discord Housekeeper

  • Moderator
  • 19130 battles
  • 301
  • [DSCRD] DSCRD
  • Member since:
    03-22-2014
You need to define the "redirect_uri" where API responses after successful authentication will be sent. That should either be a custom web application which can interact using the REST API or there are dozens of free services (so called request bins) around which allow you to collect API responses there and use them elsewhere. There is also this open-source implementation on GitHub specifically in Python, though it might be slightly outdated as last commit was in 2018: https://github.com/m...penid-wargaming




1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users