Possible fix for twitter login (part 2)

This commit is contained in:
George Kalampokis 2022-02-24 15:45:19 +02:00
parent 8d1c73deba
commit 9f88bdae69
1 changed files with 1 additions and 1 deletions

View File

@ -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);
});
}