mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Add IDP test for clients with a WebID
This commit is contained in:
@@ -74,11 +74,12 @@ export class IdentityTestState {
|
||||
* Initializes an authentication session and stores the relevant cookies for later re-use.
|
||||
* All te relevant links from the login page get extracted.
|
||||
*/
|
||||
public async startSession(): Promise<string> {
|
||||
public async startSession(clientId?: string): Promise<string> {
|
||||
let nextUrl = '';
|
||||
await this.session.login({
|
||||
redirectUrl: this.redirectUrl,
|
||||
oidcIssuer: this.oidcIssuer,
|
||||
clientId,
|
||||
handleRedirect(data): void {
|
||||
nextUrl = data;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user