Why do I have to log in again to a Ducky Challenge on the Home Screen?

Short summary

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.

Detailed description

When does this issue occur?

  1. You're invited to a Ducky Challenge, and open the URL in Safari
  2. Login or register with your preferred login option
  3. Confirm which team you participate on as necessary
  4. You're now logged in to Ducky in Safari and should be in the challenge
  5. Click the Share button mid bottom in Safari
  6. Click "Add to Home Screen"
  7. Confirm the icon name
  8. Click the new Ducky Challenge icon from the Home Screen
  9. You should now be logged in to the PWA
  10. 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.


Did this help answer your question?

thumbs up
thumbs down

Thanks for the feedback! 🙏🏽