On the Mattermost iOS client of you leave the app and come back it starts the sign in flow all over again no matter how you return the app. This makes signing in with a Gitlab account with 2 factor authentication enabled impossible as by the time you have clicked the "login with Gitlab" button, entered your credentials, and gotten to the 2FA code entry screen whatever 2FA code you copied has expired.
↧