Is domain property required? - CookieStorage Interface #6743
Labels
amazon-cognito-identity-js
Used for issues related to this specific package within the monorepo
Auth
Related to Auth components/category
feature-request
Request a new feature
Is your feature request related to a problem? Please describe.
Auth / Cognito with cookieStorage
CookieStorage interface is below.
amplify-js/packages/amazon-cognito-identity-js/src/CookieStorage.js
Line 18 in cffb932
Is there a reason a domain property is required?
When we specify the domain of the cookie, it will be sent to the subdomain.
It's not secure.
Describe the solution you'd like
Cookie domain property should be Optional.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: