You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing oauth.authenticate() will not resolve or reject if the end-user clicks the Back button in the OAuth flow.
constlaunchOAuth=async()=>{try{consttoken=awaitSDK.oauth.authenticate();// execution will never go pass this point if end-user clicks Backconsole.log(token);}catch(e){console.log(e);}};
Expected
When a user clicks on the Back button, promise should resolve with no token, or throw an error.
Actual
Code hangs at line const token = await SDK.oauth.authenticate();, never continuing execution flow or throwing an error.
The text was updated successfully, but these errors were encountered:
Executing
oauth.authenticate()
will not resolve or reject if the end-user clicks theBack
button in the OAuth flow.Expected
When a user clicks on the
Back
button, promise should resolve with no token, or throw an error.Actual
Code hangs at line
const token = await SDK.oauth.authenticate();
, never continuing execution flow or throwing an error.The text was updated successfully, but these errors were encountered: