Skip to content

Commit

Permalink
chore: update nextjs example app readme
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed Aug 17, 2024
1 parent fe6fb68 commit 42ea2ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/nextjs-app/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# React SPA (Single Page App) using Authorization Code Flow with PKCE
# Next.js App using Authorization Code Flow with PKCE

This project demonstrates how to implement the Authorization Code Flow with PKCE for a Next.js App.

Expand Down Expand Up @@ -35,7 +35,7 @@ Before getting started, make sure you have the following:
If you don't have an OpenID Connect provider, you can use [TestID OpenID Connect Provider](https://testid.cerberauth.com/).

- Obtain the client ID and client secret from your OpenID Connect provider.
- Register the redirect URI for your React SPA in the provider's developer console.
- Register the redirect URI for your Next.js App in the provider's developer console.

4. Update the configuration:

Expand Down Expand Up @@ -70,7 +70,7 @@ If you don't have an OpenID Connect provider, you can use [TestID OpenID Connect

7. Click on the "Login" button to initiate the authorization code flow.

8. After successful authentication, you will be redirected back to the React SPA and the user information will be displayed.
8. After successful authentication, you will be redirected back to the application and the user information will be displayed.

## Additional Resources

Expand All @@ -79,4 +79,5 @@ If you don't have an OpenID Connect provider, you can use [TestID OpenID Connect
- [OAuth 2.0 Authorization Code Flow](https://oauth.net/2/grant-types/authorization-code/)
- [PKCE](https://oauth.net/2/pkce/)
- [Awesome OpenID Connect](https://github.com/cerberauth/awesome-openid-connect)
- [Next.js](https://nextjs.org/)
- [React](https://reactjs.org/)

0 comments on commit 42ea2ff

Please sign in to comment.