Skip to content

PromptCodeReceiver causes FileNotFoundException on .Net Core, Windows #813

Closed
@Phoenix-

Description

@Phoenix-

Brief research shows that it's impossible to use Process.Start(url) in .net core to open default browser.
Trivial possible fix:
Replace line 44:
Process.Start(authorizationUrl);
with

Console.WriteLine("Visit the following url: ");
Console.WriteLine(authorizationUrl);

We interact with user via console anyway, so instead of assuming there's a possibility of opening url on any given platform it might be better to ask the user to interact with server.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions