I am a third party developer , who is using the twitch APIs to broadcast the games from my app.
I have a question with respect to login . How do we handle the login when a user account is blocked . What kind of error will we get ?
Like how we get the access token , when the login is successful , will we get any error string when a blocked account is used for login ?
A suspended account won’t be able to authorize the application. If you already have a token, kraken endpoints will usually return 422 for suspended accounts.
Thanks for the reply.
Yes , the user will not be able to authorize the application , but how do we detect it. I mean , what kind of error will we get, using which we can take future action (liking closing the window/giving a pop-up)