Skip to content

Commit

Permalink
feat: added support for dynamic client names (#118)
Browse files Browse the repository at this point in the history
Co-authored-by: Wouter Janssens <wouter@digita.ai>
  • Loading branch information
lem-onade and wouteraj authored May 3, 2021
1 parent b3c0b1c commit 95ad5bf
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ export class SolidSDKService extends SolidService {
*
* @param logger The logger used in the service.
*/
constructor(private logger: Logger) {
constructor(
private logger: Logger,
private clientName = 'NDE Collectiebeheersysteem',
) {
super();
}

Expand Down Expand Up @@ -116,7 +119,7 @@ export class SolidSDKService extends SolidService {
await login({
oidcIssuer: issuer,
redirectUrl: window.location.href,
clientName: 'Getting started app',
clientName: this.clientName,
});
}

Expand Down

0 comments on commit 95ad5bf

Please sign in to comment.