Auto-night mode doesn't switch back to light theme
Auto-night mode does not work as intended when set to either system default, or adaptive, or schduled by time, or scheduled by sunrise/sunset time. In both cases Telegram switch to dark mode, following…
# QUOTE BEGINS
> It looks like the authorization_code is being used more than once which
leads to disconnecting again. The exact error we are seeing is 'OAuth
Token was consumed twice, which disconnected this account from the
platform'. During the Oauth onboarding process, there are two operations
initiated by the platform : the authorize and the Oauth token request.
The authorize is a link that redirects the new user to their onboarding form :
https://stripe.com/docs/connect/oauth-reference#get-authorize
When this form is completed, Stripe responds with an <authorization_code>, or ac_ :
https://stripe.com/docs/connect/oauth-reference#get-authorize-response
This ac_ will be passed in the token request [1], in order to generate an access token [2] :
[1] https://stripe.com/docs/connect/oauth-reference#post-token
[2] https://stripe.com/docs/connect/oauth-reference#post-token-response
The access token can be used to make requests on behalf of this
connected account, but for security reasons, the
<authorization_code> can only be used once. If ever re-used, this
would lead to disconnecting the connected account from the platform.
# QUOTE ENDS