aws-amplify / aws-amplify/docs

[Feedback] SSR page needs more description...

Open
#5,066 0 comments 0 reactions 0 assignees View on GitHub
amplify/js
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

**Page**: [`/lib/ssr/q/platform/[platform]`](https://docs.amplify.aws/lib/ssr/q/platform/js)

**Feedback**:

This seems unnecessarily complex -->

"Server-side functions that don't have a req object (e.g. Next.js' getStaticProps & getStaticPaths) should still use withSSRContext(). Please note that it's not possible to perform authenticated requests with Amplify when using these functions."

The way I read it is use "withSSRContext" when using Next.js features and oh by the way, this won't work. So will it with api keys or not at all? if not, what are the alternatives please.

Contributor guide

Open the contributing guide

Research direction

Review the SSR documentation page at /lib/ssr/q/platform/[platform], focusing on the guidance for withSSRContext(), getStaticProps, and getStaticPaths. Clarify whether API-key requests are supported and document the available alternatives so the authentication limitations are unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, next.js
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.