Betwise Docs Help

Authentication Flow

For authentication, we are using Auth0.

Betwise Companion

The companion app will be a native desktop app that is installed on the user's machine. This app will be responsible for collecting poker hands data from locally installed poker platforms apps.

Authentication Flow

UserUserCompanion AppCompanion AppAuth0Auth0APIAPIInitial Authentication FlowOpen Companion AppRedirect to Auth0 for LoginDisplay Login PageEnter Credentials (Username/Password)alt[Successful Authentication]Redirect with Authorization Code (via Callback URL)Exchange Authorization Code for Access TokenAccess TokenSend Access Token in RequestValidate TokenToken Validation Result (Valid)Response (Data/Resource)[Authentication Failed]Redirect with Error (via Callback URL)Display Error MessageToken Renewal via Silent AuthenticationRequest Token (Silent Authentication)Issue New Access Token (if session valid)Send New Access TokenValidate TokenToken Validation Result (Valid)Response (Data/Resource)Logout or Session ExpiryLog OutClear Token from Secure Storage
Last modified: 23 November 2024