Possible fix for twitter login (part 2)
This commit is contained in:
parent
8d1c73deba
commit
9f88bdae69
|
@ -316,7 +316,7 @@ export class LoginComponent extends BaseComponent implements OnInit, AfterViewIn
|
||||||
this.httpClient.get(this.configurationService.server + 'auth/twitterRequestToken', { headers: headers })
|
this.httpClient.get(this.configurationService.server + 'auth/twitterRequestToken', { headers: headers })
|
||||||
.pipe(takeUntil(this._destroyed))
|
.pipe(takeUntil(this._destroyed))
|
||||||
.subscribe((data: any) => {
|
.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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue