Possible fix for twitter login
This commit is contained in:
parent
93aa2d36e5
commit
8d1c73deba
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue