Cognito SAML Auth from a Python Script — No Web App Required April 19, 2026 · 6 min read Learn how to authenticate with AWS Cognito using SAML-based identity providers like Entra ID in a Python script without a web application aws cognito python oauth2 saml