James Steele
cac6bd410a
Support Azure login page on WSL 1
...
The format reported by `/proc/version` differs between versions of WSL;
both report the text "Microsoft", albeit in different cases.
Signed-off-by: James Steele <james@kevel.org>
2021-05-15 22:06:33 +01:00
Karol Zadora-Przylecki
cc649d958c
Add Azure sovereign cloud support
...
Signed-off-by: Karol Zadora-Przylecki <karolz@microsoft.com>
2021-02-15 18:38:59 -08:00
Guillaume Tardif
b514dafa91
Regroup azure constants that might be things to switch in order to provide access to other azure clouds.
...
See `az cloud list` to list endpoints specific to each azure cloud.
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-30 14:05:28 +02:00
Chris Crone
d154c41586
Update copyright
...
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-22 12:13:00 +02:00
Guillaume Tardif
76c92a8359
Pass in context to login tenant query, so it gets cancelled if the user Ctrl+C
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-03 18:21:30 +02:00
guillaume.tardif
bb58290eeb
invoke browser with Run rather than Start, to get errors (on wsl no interop setup, and more generally if the browser app returns an error)
...
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2020-09-02 17:31:04 +02:00
Guillaume Tardif
909be662ee
Azure fallback to device code flow if we can’t open a browser (some WSL2 scenarios)
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-02 15:46:17 +02:00
Djordje Lukic
8e7a8bfa24
Fix azure login inside WSL2
2020-08-07 12:55:12 +02:00
Christopher Crone
8bf0610c18
aci.login: Normalize source code file names
...
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-06 18:52:23 +02:00