Hej,
How can I get user information from providers?
I mean e. g. photo url.
After I want to use them to apis: (originalImplementation) => {
return {
...originalImplementation,
thirdPartySignInUpPOST: async function (input) {
try {
const response =
await originalImplementation.thirdPartySignInUpPOST(
input,
);
if (
originalImplementation.thirdPartySignInUpPOST ===
undefined
) {
throw Error('Should never come here');
}
if (response.status === 'OK' && response.createdNewUser) {
const accessToken =
response.authCodeResponse.access_token;