diff --git a/dmp-frontend/src/app/ui/auth/login/login.component.ts b/dmp-frontend/src/app/ui/auth/login/login.component.ts index c001dac0c..e5b243627 100644 --- a/dmp-frontend/src/app/ui/auth/login/login.component.ts +++ b/dmp-frontend/src/app/ui/auth/login/login.component.ts @@ -316,7 +316,7 @@ export class LoginComponent extends BaseComponent implements OnInit, AfterViewIn this.httpClient.get(this.configurationService.server + 'auth/twitterRequestToken', { headers: headers }) .pipe(takeUntil(this._destroyed)) .subscribe((data: any) => { - this.twitterUrl.next(this.configurationService.loginProviders.twitterConfiguration.oauthUrl + '?oauth_token=' + data.value); + this.twitterUrl.next(this.configurationService.loginProviders.twitterConfiguration.oauthUrl + '?oauth_token=' + data.payload.value); }); }