Sign in with Other Page adheres to OAuth2.0 and OpenID Connect making it compatible with any platform that supports these standards. Custom implementations can be accomplished using the Connect APIs directly.
Obtain and setup required config
SESSION_SECRET
— a randomly generated, strong password of at least 32 charactersNEXT_PUBLIC_SIWOP_CLIENT_ID
- your client id obtained in the Other Page PortalSIWOP_CLIENT_SECRET
- your client secret obtained in the Other Page PortalNEXT_PUBLIC_SIWOP_REDIRECT_URI
- your redirect_uri, this must match what is defined for your client in the Other Page PortalThe NEXT_PUBLIC_SIWOP_CLIENT_ID
and NEXT_PUBLIC_SIWOP_REDIRECT_URI
must match what is defined for your app in the Other Page Portal.
Install the required dependencies
Configure the client and context
Configure the required server API routes
api/siwop/[...route].ts
.SIWOP Button