Tranfer Auth Key to IOS PWA

Richard Lloyd
Richard Lloyd used Ask the Experts™
on
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?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Jackie Man IT Manager
Top Expert 2010

Commented:
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

Author

Commented:
Thank you. I'll investigate

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial