
User16334639846201399612 (Customer) asked a question.
I'm trying to connect 2 Okta Accounts with IdentityProvider and login via my Asp application.
The issue here is when application redirects my to the 2nd account login page.
I try to login, but then I got an Error message like this "Could not fetch social profile."
Any idea why I'm getting this type of error? thanks

Ciprian from Okta here,
With regards to the error you are seeing this does suggest it is failing to pull or associate the user correctly between the systems.
The minimum required are the 4 base attributes of Username, Email, First Name and Last Name.
Now the best way to visualize this is to access the mappings section in your Identity Providers configuration, you can select "Edit Profile" to view the IDP variables, and "Edit Mappings" to configure the mappings.
There are 2 solutions that should solve this behavior:
1. Include an email format attribute in the claims, such as "email" or "preffered_username", and map it accordingly in Okta to the Email and Username.
2.Modify the existing mappings and statically include a domain in the variables that are getting mapped to the username and email.
To further troubleshoot I would suggest to open a case at support@okta.com
Thank you.