Link to home
Start Free TrialLog in
Avatar of Richard Lloyd
Richard Lloyd

asked on

Tranfer Auth Key to IOS PWA

I am developing a PWA that requires a variable containing the users authentication key to passed to the installed version when the user adds the application to their home screen.

The android version maintains cookies and session ccokies in the install, but IOS loses cookies, session variables, querystrings and any other means of transferring the key to the app when it is installed.

Is there a way to get round this sandboxing of the installed app to save users having to login again once they have installed the app on IOS?
Avatar of Jackie Man
Jackie Man
Flag of Hong Kong image

You need to make use of the keychain to do what you want as user credentials are not allowed to pass on from one installed app to another app or the iOS system.

https://developer.apple.com/documentation/security/keychain_services/keychain_items/using_the_keychain_to_manage_user_secrets
Avatar of Richard Lloyd
Richard Lloyd

ASKER

Thank you. I'll investigate
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.