Possible fix for twitter login

This commit is contained in:
George Kalampokis 2022-02-24 15:42:36 +02:00
parent 93aa2d36e5
commit 8d1c73deba
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export class TwitterLoginComponent extends BaseComponent implements OnInit {
this.httpClient.get(this.configurationService.server + 'auth/twitterRequestToken', { headers: headers })
.pipe(takeUntil(this._destroyed))
.subscribe((data: any) => {
window.location.href = this.configurationService.loginProviders.twitterConfiguration.oauthUrl + '?oauth_token=' + data.value;
window.location.href = this.configurationService.loginProviders.twitterConfiguration.oauthUrl + '?oauth_token=' + data.payload.value;
});
}