Possibly this thread could be the answer you require : https://world.optimizely.com/forum/developer-forum/CMS/Thread-Container/2020/2/how-to-integrate-adfs-with-episerver-in-case-run-as-multiple-sites/
It depends how your current login flow being implemented. In a nutshell, you can follow the implementation in the article below, most the concepts are still relevant. From memory, there is a key area you need to set authentication mode to passive
Thank Vincent for you answer! That help me solve my problem
We have two websites and implemented SSO for one site. Now we need to implement SSO second website with different MetadataAddress&Wtrealm but we have an issue with
Every site has its own meta address and Wtrealm. How can we assign these values dynamically?