|Docs
Skip to content
HomeQuick startTutorialsSDKsBlogChangelogIntegrationsAPI references

Products

AuthDatabasesNewStorageFunctionsMessagingSitesDomainsNewFirewallNew

APIS

OverviewRealtimeRESTGraphQL

Tooling

OverviewMCP serverCLITerraformCommand CenterThe Appwriter

Advanced

PlatformNetworkMigrationsSecuritySelf-hosting

Documentation

HomeQuick startTutorialsSDKsBlogChangelogIntegrationsAPI references

Products

AuthDatabasesNewStorageFunctionsMessagingSitesDomainsNewFirewallNew

APIS

OverviewRealtimeRESTGraphQL

Tooling

OverviewMCP serverCLITerraformCommand CenterThe Appwriter

Advanced

PlatformNetworkMigrationsSecuritySelf-hosting
Next.js SSR

Steps

  • Introduction
  • Create project
  • Initialize SDK
  • Get the logged in user
  • Create sign up page
  • Create account page
  • OAuth authentication with SSR
  • All set

Next.js SSR

All set_

Add authentication to a Next.js project using Appwrite.

1 min read

Raw
Raw

If you want to see the complete source code with styling, see the demos-for-react repository.

Other authentication methods

Appwrite also supports OAuth, passwordless login, anonymous login, and phone login. Learn more about them in the authentication guide.

PreviousOAuth authentication with SSR

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.

On this page

  • Other authentication methods
Docs·
Store·
Status
SOC 2 Type II Certified
Terms·
Privacy·
Cookies
© 2026 Appwrite