Hi ,
For an integration use case , I have created connected app in the web service org. And an auth provider in the other org from where we want to access the web service. While creating named credential, when I choose the auth provider, and try to save it, It redirects me to the login page , on providing credentials, It throws an error and restricts me to login . Attaching the screenshot of the error.
#Integration
@Suhani Bhargava If everything has been checked, the issue might be related to Permissions. You can also try using a different browser and check if a VPN is enabled anywhere.
I remember a case when a similar error occurred due to a corporate firewall.
Also too, you can connect with Salesforce Help Team
Sincerely,
Mykhailo Vdovychenko
Bringing Cloud Excellence with IBVCLOUD OÃœ