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 #OAuth 2.0 #Apex #Trailhead Challenges #TrailblazerCommunity #Named Credentials