From c0832004a341926af5cbcbd790f9af10d31b746a Mon Sep 17 00:00:00 2001 From: Angelo Veltens Date: Thu, 16 Apr 2020 08:04:19 +0200 Subject: [PATCH] add missing scope param https://github.com/solid/solid-cli/issues/15 --- src/SolidClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SolidClient.js b/src/SolidClient.js index daaddb1..4b2c0a3 100644 --- a/src/SolidClient.js +++ b/src/SolidClient.js @@ -45,7 +45,7 @@ class SolidClient { async createSession(relyingParty, credentials) { // Obtain the authorization URL const authData = {}; - const authUrl = await relyingParty.createRequest({ redirect_uri: redirectUrl }, authData); + const authUrl = await relyingParty.createRequest({ redirect_uri: redirectUrl, scope: ['openid'] }, authData); // Perform the login const loginParams = await this.getLoginParams(authUrl);