im trying to create a authentication flow for Twich.
i started a server wich listens to the callback url, wich already works, but im unable to get the token.
the important part of the documentation:
How can i get the token?
i also tried to open the authorization page in a webview instead of the local browser, but here i also dont get the token.
i started a server wich listens to the callback url, wich already works, but im unable to get the token.
the important part of the documentation:
B4X:
If the user authorizes your application by clicking Authorize, the server sends the access token to your redirect URI in the fragment portion of the URI (see the access_token parameter):
http://localhost:3000/
#access_token=73d0f8mkabpbmjp921asv2jaidwxn
&scope=channel%3Amanage%3Apolls+channel%3Aread%3Apolls
&state=c3ab8aa609ea11e793ae92361f002671
&token_type=bearer
NOTE In JavaScript, you can access the fragment using document.location.hash.
How can i get the token?
i also tried to open the authorization page in a webview instead of the local browser, but here i also dont get the token.