function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JonathanFoxJonathanFox 

Automatically Login via SSO Connected App

Hi all!

I'm trying to teach myself IAM areas I'm weak on.

I have 2 dev ed orgs.Org A - is the IDP
Org B - is the SP

I have created the SSO settings in Org B to use Org A as the IDP.In Org A, I have created the connected app.

All works well, all works great for SSO matching on federation Id.A next step, I wish to do almost an 'aloha' community cloud implementation.

I have the connected app show in the Org A app launcher but when I click it, it takes me to the Org B My Domain login URL. I can click SSO and use Org A to authenticate but what I want is that step to be automated and I automatically go into Org B

What are my next steps/topics I need to research? Is it some apex that I now need to write, something to do with login flows? I kinda just want to know the subject/topic to teach myself this next step 
Best Answer chosen by JonathanFox
JonathanFoxJonathanFox
I managed to obtain the answer. See it here -> https://salesforce.stackexchange.com/questions/336972/automatically-login-via-sso-connected-app

All Answers

AnudeepAnudeep (Salesforce Developers) 
I don't think you cannot skip the login screen. However, you have an option to unselect the 'Login Page' under Authentication Configuration (Setup -> Company Settings -> My Domain. Click on Edit under ‘Authentication Configuration’ and uncheck the option ‘Login Page’)
JonathanFoxJonathanFox
I managed to obtain the answer. See it here -> https://salesforce.stackexchange.com/questions/336972/automatically-login-via-sso-connected-app
This was selected as the best answer