I configured Cognito as my authenticaiton method.
I get the following error when logging in through Cognito:
com.atlassian.plugins.authentication.impl.web.usercontext.AuthenticationFailedException: Error when fetching authorization response. Error: {"error_description":"Invalid phone number format. ","error":"invalid_request"} My setup used to work but I'm not sure what changed.
Username mapping: ${cognito:username}
fill the data automatically from my chosen identity provider - checked
JIT provisioning checked
${given_name} ${family_name}
${email}
cognito:groups
no scopes
Not sure what else I should check, that error is very specific but I couldn't find an answer.