The domain in both cases ie domaina.com and domainb.com are the same ie: testb2c.b2clogin.com in this case, only the paths are different.
Thanks for confirming. If you are on
testb2c.b2clogin.com and authenticating at a path off of
testb2c.b2clogin.com then I would not expect that you are running into a 3rd party cookie issue.
Do you see your server redirecting to the provided
Location using the scheme that was given to
ASWebAuthenticationSession? Likewise, if you have control over
testb2c.b2clogin.com, do you see this authentication request hitting your server?
We are using OAuth2 to authenticate against testb2c.b2clogin.com/policya/oauth2/authorize. This gives us a SSO session cookie
You might want to try running this on the Simulator and capturing the network request flow back and forth from your server using a tool like Charles. If you can see that you are being sent the OAuth token, are able to pick it up in iOS 13, but are unable to do so in iOS 14, then we should get a
bug report down for this. If you end up having to open a bug report please follow up with the Feedback ID.
Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com