Error: Webhook could not be registered with GitHub. Error cause: Maximum number of login attempts exceeded [StatusCode: 403, Body: {"message":"Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization.","documentation_url":"https://docs.github.com/articles/authenticating-to-a-github-organization-with-saml-single-sign-on/"}] Service: AWSCodePipeline; Status Code: 400; Error Code: ValidationException; Steps to fix: Create a new GitHub PAT with required accesses and enable SSO as described here . Use this PAT as an OAuthToken for the Source action of CodePipeline.