Closed arjuntejaswi-s closed 1 year ago
Note: The cookies seen in the screenshot are all created by third party cookies. I came to this conclusion because we have not set any cookie inside our app. So, my first question -> Is this issue can be solved? If yes, please help us.
This has been resolved from our side Thank you.
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
Not applicable
Amplify Categories
hosting
Environment information
Describe the bug
We have a react app hosted in amplify frontend. We are trying set the secure to true in Cookies Storage for our domains but we are unable to do it. I have tried all the steps possible but couldn't find a solution. Please could anyone help me in solving this issue.
Expected behavior
The cookies that are generated from the app should be secured.
Reproduction steps
Please check the screenshot
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
Amplify.configure({ Auth: { region: 'ap-south-1', cookieStorage: { domain: '.mydomainName.io', path: '/', expires: 365, secure: true } } });
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response