This is a sample app that demonstrates how to implement single sign on via OpenID Connect using Next.js and Ordercloud.
Full documentation is available on Ordercloud docs site:
- Integration with Google IDP
- Integration with Azure AD IDP
Quick start:
- Copy
.env.example
to.env.local
and fill in the values - Run
npm run dev
to start the development server - Log in via your IDP of choice
- You should be redirected to the application with your logged in user details