D
Size: a a a
D
IS
D
IS
E
J
D
IS
E
D
D
E
IS
J
IS
F
AL
Access to XMLHttpRequest at 'https://login.yandex.ru/info' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
getUserInfo(authHeader: string): Promise<IUserResponse> {
return this.httpClient.get<IUserResponse>(
'https://login.yandex.ru/info',
{
headers: {
'Authorization': authHeader
}
}
).toPromise();
}
D