I have some URLs in my app which takes the user to Safari browser through openURL
API.
My aim is to sent the auth token to Safari from the app, so that user will be logged in by using this token. Our server requires this ticket to be sent as part of header information. Is there any possibility to sent custom headers along with NSURL
?
I have checked the below link which talks about query components but the server doesn't handle it, they prefer a different solution. Android is having some possibility to sent additional headers when opening a URL in external browser, so now every eye is on iOS :-).
The auth token is saved in a shared keychain, is there a way in which Safari can access it?
What is the recommended solution?
Do I need to use Shared Web Credentials? Quite some work required in this case I believe. I have not used it.