Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

add missing scope param #18

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SolidClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down