In case if we couldn't open a browser using xdg-open (For
example xdg-utils can be not installed in the system) -- user will still able to
follow the link (copy-paste from the terminal) and obtain oauth code.
Message will look like this:
Can't open browser (exec: "xdg-open": executable file not found in $PATH: ). Please follow the link: https://accounts.google.com/o/oauth2
In case if we couldn't open a browser using
xdg-open
(For example xdg-utils can be not installed in the system) -- user will still able to follow the link (copy-paste from the terminal) and obtain oauth code.Message will look like this: