We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dfaa68 commit 49615c2Copy full SHA for 49615c2
src/pages/gen1/[platform]/build-a-backend/server-side-rendering/index.mdx
@@ -112,6 +112,11 @@ const amplifyConfig = parseAmplifyConfig(config);
112
const keyValueStorage = createKeyValueStorageFromCookieStorageAdapter({
113
get(name) {
114
const value = ...; // use framework cookie API to get the value by name
115
+ // NOTE: When you call `Amplify.configure()` with `{ ssr: true }`,
116
+ // the token cookie value strings are encoded. You need to decode
117
+ // the value here if the framework cookie API does not decode the value
118
+ // strings. For example, you can use `decodeURIComponent(value)`
119
+ // to decode the value.
120
return { name, value };
121
},
122
getAll() {
0 commit comments