AWS Security ChangesHomeSearch

AWS cognito documentation change

Service: cognito · 2025-03-23 · Documentation low

File: cognito/latest/developerguide/using-pkce-in-authorization-code.md

Summary

Updated Cognito domain URLs in PKCE flow examples to include 'auth.' subdomain

Security assessment

Domain format update consistent with other changes, no security implications identified.

Diff

diff --git a/cognito/latest/developerguide/using-pkce-in-authorization-code.md b/cognito/latest/developerguide/using-pkce-in-authorization-code.md
index fc8b9289d..5ca86788f 100644
--- a/cognito/latest/developerguide/using-pkce-in-authorization-code.md
+++ b/cognito/latest/developerguide/using-pkce-in-authorization-code.md
@@ -60 +60 @@ The following is an example output from the Python script:
-        https://mydomain.us-east-1.amazoncognito.com/oauth2/authorize?response_type=code&client_id=1example23456789&redirect_uri=https://www.example.com&code_challenge=Eh0mg-OZv7BAyo-tdv_vYamx1boOYDulDklyXoMDtLg&code_challenge_method=S256
+        https://mydomain.auth.us-east-1.amazoncognito.com/oauth2/authorize?response_type=code&client_id=1example23456789&redirect_uri=https://www.example.com&code_challenge=Eh0mg-OZv7BAyo-tdv_vYamx1boOYDulDklyXoMDtLg&code_challenge_method=S256
@@ -65 +65 @@ The following is an example output from the Python script:
-    Host: mydomain.us-east-1.amazoncognito.com
+    Host: mydomain.auth.us-east-1.amazoncognito.com