Skip to main content

Module login

Module login 

Source

Functionsยง

code_challenge_s256 ๐Ÿ”’
open_in_browser ๐Ÿ”’
parse_redirect_port ๐Ÿ”’
random_url_safe_string ๐Ÿ”’
run ๐Ÿ”’
Runs the login command: the browser-based authorization_code + PKCE login flow for the active profile, caching the resulting tokens in the secrets file.
wait_for_callback ๐Ÿ”’
Blocks waiting for the browser to redirect back with ?code=&state=, on a single connection to the loopback listener. Returns (code, state).