Setting Generic Oauth team_ids Causing Login To Fail

I’ve set the team_ids setting in the Generic OAuth section of the config file to 1. This is the ID of the team that I was users to automatically be provisioned to. However when I go to login with my test user I get the following error.