nayanAubie / signin_with_linkedin

MIT License
0 stars 2 forks source link

Can't getAuthToken and getUserProfile in the same time. #4

Closed alvinraa closed 9 months ago

alvinraa commented 9 months ago

When I attempt to retrieve both the AuthToken and UserProfile simultaneously, I am unable to obtain the AuthToken. I must comment out the UserProfile retrieval in order to successfully obtain the AuthToken.

I've explored an alternative approach, which involves calling the signIn function twice: once for the AuthToken and another time for the UserProfile. However, this method results in an unusual user experience (UX) behavior where the authentication popup appears twice.

here my code image

nayanAubie commented 9 months ago

@alvinraa Sure, I'll update

nayanAubie commented 9 months ago

Fixed with version - 0.0.3