forked from sim0n00ps/OF-DL
Compare commits
15 Commits
319e98443a
...
d3b8ca6fcd
Author | SHA1 | Date | |
---|---|---|---|
d3b8ca6fcd | |||
3d4dfbae17 | |||
1429da5ac6 | |||
cb639ff18c | |||
637bac5f61 | |||
8fd17feba5 | |||
3cc3c49b0f | |||
3ac8360a09 | |||
fed6fc77a8 | |||
e723680a96 | |||
233de7c9e5 | |||
a893653be1 | |||
2e8789897e | |||
fd2c6ad6cd | |||
5488d9f80c |
@ -70,7 +70,7 @@ public class Program
|
||||
AnsiConsole.MarkupLine($"[yellow]In the new window that has opened, please log in to your OF account. Do not close the window or tab. Do not navigate away from the page.[/]\n");
|
||||
AnsiConsole.MarkupLine($"[yellow]Note: Some users have reported that \"Sign in with Google\" has not been working with the new authentication method.[/]");
|
||||
AnsiConsole.MarkupLine($"[yellow]If you use this method or encounter other issues while logging in, use one of the legacy authentication methods documented here:[/]");
|
||||
AnsiConsole.MarkupLine($"[link]https://docs.ofdl.tools/config/auth/#legacy-methods[/]");
|
||||
AnsiConsole.MarkupLine($"[link]https://sim0n00ps.github.io/OF-DL/docs/config/auth#legacy-methods[/]");
|
||||
}
|
||||
}
|
||||
auth = await getAuthTask;
|
||||
@ -80,7 +80,7 @@ public class Program
|
||||
AnsiConsole.MarkupLine($"\n[red]Authentication failed. Be sure to log into to OF using the new window that opened automatically.[/]");
|
||||
AnsiConsole.MarkupLine($"[red]The window will close automatically when the authentication process is finished.[/]");
|
||||
AnsiConsole.MarkupLine($"[red]If the problem persists, you may want to try using a legacy authentication method documented here:[/]\n");
|
||||
AnsiConsole.MarkupLine($"[link]https://docs.ofdl.tools/config/auth/#legacy-methods[/]");
|
||||
AnsiConsole.MarkupLine($"[link]https://sim0n00ps.github.io/OF-DL/docs/config/auth#legacy-methods[/]\n");
|
||||
AnsiConsole.MarkupLine($"[red]Press any key to exit.[/]");
|
||||
Log.Error(e, "auth invalid after attempt to get auth from browser");
|
||||
|
||||
@ -92,7 +92,7 @@ public class Program
|
||||
AnsiConsole.MarkupLine($"\n[red]Authentication failed. Be sure to log into to OF using the new window that opened automatically.[/]");
|
||||
AnsiConsole.MarkupLine($"[red]The window will close automatically when the authentication process is finished.[/]");
|
||||
AnsiConsole.MarkupLine($"[red]If the problem persists, you may want to try using a legacy authentication method documented here:[/]\n");
|
||||
AnsiConsole.MarkupLine($"[link]https://docs.ofdl.tools/config/auth/#legacy-methods[/]");
|
||||
AnsiConsole.MarkupLine($"[link]https://sim0n00ps.github.io/OF-DL/docs/config/auth#legacy-methods[/]\n");
|
||||
AnsiConsole.MarkupLine($"[red]Press any key to exit.[/]");
|
||||
Log.Error("auth invalid after attempt to get auth from browser");
|
||||
|
||||
@ -626,7 +626,7 @@ public class Program
|
||||
{
|
||||
AnsiConsole.MarkupLine($"\n[red]auth.json has invalid JSON syntax. The file can be generated automatically when OF-DL is run in the standard, interactive mode.[/]\n");
|
||||
AnsiConsole.MarkupLine($"[red]You may also want to try using the browser extension which is documented here:[/]\n");
|
||||
AnsiConsole.MarkupLine($"[link]https://docs.ofdl.tools/config/auth/#legacy-methods[/]");
|
||||
AnsiConsole.MarkupLine($"[link]https://sim0n00ps.github.io/OF-DL/docs/config/auth#browser-extension[/]\n");
|
||||
AnsiConsole.MarkupLine($"[red]Press any key to exit.[/]");
|
||||
|
||||
Console.ReadKey();
|
||||
@ -642,7 +642,7 @@ public class Program
|
||||
{
|
||||
AnsiConsole.MarkupLine($"\n[red]auth.json is missing. The file can be generated automatically when OF-DL is run in the standard, interactive mode.[/]\n");
|
||||
AnsiConsole.MarkupLine($"[red]You may also want to try using the browser extension which is documented here:[/]\n");
|
||||
AnsiConsole.MarkupLine($"[link]https://docs.ofdl.tools/config/auth/#legacy-methods[/]");
|
||||
AnsiConsole.MarkupLine($"[link]https://sim0n00ps.github.io/OF-DL/docs/config/auth#browser-extension[/]\n");
|
||||
AnsiConsole.MarkupLine($"[red]Press any key to exit.[/]");
|
||||
|
||||
Console.ReadKey();
|
||||
@ -656,7 +656,7 @@ public class Program
|
||||
{
|
||||
AnsiConsole.MarkupLine($"\n[red]auth.json is missing. The file can be generated automatically when OF-DL is run in the standard, interactive mode.[/]\n");
|
||||
AnsiConsole.MarkupLine($"[red]You may also want to try using the browser extension which is documented here:[/]\n");
|
||||
AnsiConsole.MarkupLine($"[link]https://docs.ofdl.tools/config/auth/#legacy-methods[/]");
|
||||
AnsiConsole.MarkupLine($"[link]https://sim0n00ps.github.io/OF-DL/docs/config/auth#browser-extension[/]\n");
|
||||
AnsiConsole.MarkupLine($"[red]Press any key to exit.[/]");
|
||||
|
||||
Console.ReadKey();
|
||||
@ -671,7 +671,7 @@ public class Program
|
||||
{
|
||||
AnsiConsole.MarkupLine($"\n[red]auth.json is missing. The file can be generated automatically when OF-DL is run in the standard, interactive mode.[/]\n");
|
||||
AnsiConsole.MarkupLine($"[red]You may also want to try using the browser extension which is documented here:[/]\n");
|
||||
AnsiConsole.MarkupLine($"[link]https://docs.ofdl.tools/config/auth/#legacy-methods[/]");
|
||||
AnsiConsole.MarkupLine($"[link]https://sim0n00ps.github.io/OF-DL/docs/config/auth#browser-extension[/]\n");
|
||||
AnsiConsole.MarkupLine($"[red]Press any key to exit.[/]");
|
||||
|
||||
Console.ReadKey();
|
||||
@ -847,7 +847,7 @@ public class Program
|
||||
if (auth == null)
|
||||
{
|
||||
AnsiConsole.MarkupLine($"\n[red]Auth failed. Please try again or use other authentication methods detailed here:[/]\n");
|
||||
AnsiConsole.MarkupLine($"[link]https://docs.ofdl.tools/config/auth[/]\n");
|
||||
AnsiConsole.MarkupLine($"[link]https://sim0n00ps.github.io/OF-DL/docs/config/auth[/]\n");
|
||||
Console.ReadKey();
|
||||
Environment.Exit(2);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user