Fixed
-
Auth0 OIDC provider URL format: Fixed issuer validation failures during token exchange
- Added trailing slash to Auth0 OIDC provider URL (
https://${Auth0Domain}/) - Auth0's OIDC issuer includes trailing slash per OAuth 2.0 spec
- Prevents "issuer mismatch" errors during Direct IAM federation
- Updated CloudFormation template parameter documentation with supported domain formats
- Added trailing slash to Auth0 OIDC provider URL (
-
Auth0 session name sanitization: Fixed AssumeRoleWithWebIdentity errors for Auth0 users
- Auth0 uses pipe-delimited format in sub claims (e.g.,
auth0|12345) - AWS RoleSessionName regex
[\w+=,.@-]*doesn't allow pipe characters - Automatically sanitize invalid characters to hyphens in session names
- Prevents "Member must satisfy regular expression pattern" validation errors
- Auth0 uses pipe-delimited format in sub claims (e.g.,
-
Bedrock list permissions: Fixed permission errors for model listing operations
- Changed Resource from specific ARNs to
'*'for list operations - Affects
ListFoundationModels,GetFoundationModel,GetFoundationModelAvailability,ListInferenceProfiles,GetInferenceProfile - AWS Bedrock list operations require
Resource: '*'per AWS IAM documentation - Applied fix to all provider templates (Auth0, Azure AD, Okta, Cognito User Pool)
- Changed Resource from specific ARNs to
-
Dashboard region configuration: Fixed monitoring dashboards for multi-region deployments
- Replaced hardcoded
us-east-1with${MetricsRegion}parameter in log widgets - Deploy command now passes
MetricsRegionparameter fromprofile.aws_region - Prevents
ResourceNotFoundExceptionfor deployments outside us-east-1 - Affects CloudWatch Logs Insights widgets in monitoring dashboard
- Replaced hardcoded
Changed
- Code quality improvements:
- Moved
subprocessimport to module level indeploy.py - Fixed variable shadowing:
platform_choice→platform_nameinpackage.py
- Moved
Documentation
- Enhanced Auth0 setup documentation
- Added comprehensive table of supported Auth0 domain formats (standard and regional)
- Added troubleshooting section for AssumeRoleWithWebIdentity validation errors
- Documented automatic handling of Auth0 pipe character issue
- Added examples of valid and invalid domain formats
- Clarified that https:// prefix and trailing slash are added automatically