Why do I have to log in again to a Ducky Challenge on the Home Screen?Last Updated: January 07, 2020
If you have added a Ducky Challenge to the Home Screen, it will open like an app instead of in the browser. This feature is called a PWA (progressive web app) but is not yet fully supported by iOS. In some cases you might be abruptly logged out or asked to log in again.
What should you do?
You have to confirm your name and email in the PWA the first time you open it, even if you are logged in to Ducky in Safari.
If you're suddenly logged out of the PWA, try logging in again. You should receive a log in email in Mail, and clicking the button opens Safari. Don't use any other browsers. You can then go back to the PWA or continue in Safari as you like. If this does not work, please remove the PWA.
When does this issue occur?
- You're invited to a Ducky Challenge, and open the URL in Safari
- Login or register with your preferred login option
- Confirm which team you participate on as necessary
- You're now logged in to Ducky in Safari and should be in the challenge
- Click the Share button mid bottom in Safari
- Click "Add to Home Screen"
- Confirm the icon name
- Click the new Ducky Challenge icon from the Home Screen
- You should now be logged in to the PWA
- You might be suddenly logged out because of iOS issues with PWA. If this happens you can start the log in process again from the PWA
Why does this issue occur?
The PWA does not share basic authentication with Safari, meaning you must confirm name and email once for security reasons. Luckily the PWA shares cookies with Safari, meaning that once the PWA is authenticated you should stay logged in.
The PWA technology is not yet fully supported by iOS and is poorly documented by Apple. One recurring issue seems to be that any change of URL within the PWA deletes your log in cookies and throws you out.