diff --git a/angular-oauth2-oidc/src/oauth-service.ts b/angular-oauth2-oidc/src/oauth-service.ts index ae3daf70..c1db22a3 100644 --- a/angular-oauth2-oidc/src/oauth-service.ts +++ b/angular-oauth2-oidc/src/oauth-service.ts @@ -535,6 +535,10 @@ export class OAuthService search.set('username', userName); search.set('password', password); + if(this.resource) { + search.set('resource', this.resource); + } + if (this.dummyClientSecret) { search.set('client_secret', this.dummyClientSecret); }