To generate the new password follow these steps:
1. Connect to your Google account. Click on the top right corner and click "My account".
2. Click Security and App passwords
3. Enter the password of your Gmail account > continue.
4. Click Select app > select "Other (Custom name) > enter Teamgate and click > GENERATE
5. Copy your app password for your device (from the yellow field)