relopimagine.blogg.se

Seamless web log in
Seamless web log in












seamless web log in

Modified URL: $autologin_token#fragment=value Upon clicking a link, the URL must be modified by appending the autologin_token » from the client configuration object » to the query string, like so: Automatic authorizationĬlients should automatically authenticate users when opening official Telegram websites, listed in the autologin_domains key of the client configuration object ». Telegram supports automatic authorization on certain websites upon opening an HTTP URL in-app, upon clicking a link in a message or clicking on a keyboardButtonUrl.

seamless web log in

The same must be done if the user opens the link while refusing the authorization request. UrlAuthResultDefault could also be returned, instead, in which case the url of the keyboardButtonUrlAuth must be opened, instead.

seamless web log in

The result will be a urlAuthResultAccepted with the final URL to open, which will include a query string with the requested info and a hash that must be verified upon receival by the service. If the user agrees to login to the URL, messages.acceptUrlAuth should be called (eventually setting the write_allowed if the permission was requested and the user consented).














Seamless web log in