| Index: lib/src/oauth2.dart
|
| diff --git a/lib/src/oauth2.dart b/lib/src/oauth2.dart
|
| index d9f068f608f4d6bdf398764c0404ebbca287bda8..3933a43f1bb0691afb8a28b3f6e3568195d9e0e4 100644
|
| --- a/lib/src/oauth2.dart
|
| +++ b/lib/src/oauth2.dart
|
| @@ -183,7 +183,7 @@ Future<Client> _authorize() {
|
| var completer = new Completer();
|
| bindServer('localhost', 0).then((server) {
|
| shelf_io.serveRequests(server, (request) {
|
| - if (request.url.path != "/") {
|
| + if (request.url.path.isNotEmpty) {
|
| return new shelf.Response.notFound('Invalid URI.');
|
| }
|
|
|
|
|