Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is achieved by embedding the Betfair IdentitySSO login page in your application and then obtaining a successful session token upon login. The keep alive Keep Alive operation should be called within the 20 minute session expiry time if the user is still actively using your application. The embedded login page initially looks like this:

...

Once a login has been successfully made, the javascript Javascript in the page will POST the session token (ssoid) to the URL provided as a redirect URL. For a desktop application, this is not required to be a real page as the Desktop desktop application can intercept the POST request as it happens via the embedded browser container. A windows Windows based application can embed a Web Browser web browser into the application and use the BeforeNavigate2 event to catch the post data sent to the redirect URL and there are platform specific alternatives. The POST request body will contain two URL encoded parameters (which you will need to URL Decode):

...

URL definition

International users:

 

https://identitysso.betfair.com/view/login?product=<theProductDescriptor>&url=<theRedirectUrl>

 


Italian jurisdiction users:

 

https://identitysso.betfair.it/view/login?product=<theProductDescriptor>&url=<theRedirectUrl>
Note

Please note that all method names are case sensitive, this includes login, keepAlive and logout.

 

...