We are trying to set up a Connected App for our Portal users
The issue is currently that the app passes the users to the login screen for the community or the portal they can log in, but it doesn’t return them to the site they originally wanted to login into, it just leaves them in the community/portal. However if we use the same app with a platform license pointed at the sandbox login, the same app works perfectly.
Salesforce have tested: the Authentication with a Connected App. I have followed the below doc for testing the webserver flow :
Making an authentication request at the authentication server.
Hitting the URL generated in the response, entered credentials of test user and then clicking on "Allow" button afterwards.
The authorization code is generated which is used to fetch access and refresh token using which I could successfully query the data.
This implies that the connected app is working absolutely fine and the issue is not at Salesforce end, therefore I would request you to check the configuration at third party end as to why the initial session is not setting up.
Detail from our Developer creating the Connected App:
The URL that we are currently building to trigger the process is…
Obviously the “state” value doesn’t really matter, and changes each time, as this is our way of ensuring the integrity of the request.
Clicking this link takes us to the following login page…
rfcom-tribalgroup.cs87.force.com/apex/bmcservicedesk__sssitelogin?lang=en-US