I have existing application that is working based on forms authentication. I want to enable optional single sign on in my application. I want to create on additional login page (login_sso.aspx) that will use STS to authenticate user and if user authenticated successfully then it will create a forms auth cookie that way rest of the application will work same without any change. In my audience uri i will use login_sso.aspx page
<audienceUris>
<add value="https://www.myapp.com/login_sso.aspx" />
</audienceUris>
for this i have to keep authentication mode="None", but then my original login page wont work and if i keep the authentication mode="Forms" then my login_sso.aspx wont redirect to the STS. It works only if i will set authentication mode="None".
Is there any work around for this? where i can keep my authentication mode="Forms" and still use STS (only for login_sso.aspx)