Skip to content

Commit

Permalink
Update tool-plugins/nextjs-starter/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Demetrius Feijóo <demetrius.feijoo.91@gmail.com>
  • Loading branch information
eunjae-lee and demetriusfeijoo authored Sep 27, 2024
1 parent ca11700 commit 9320f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool-plugins/nextjs-starter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ After completing both authentications, the `<UserInfo />` component is rendered.

2. If you don't need the Management API but still want to validate the request on the backend:

When the `<Test />` component is rendered, it makes a request to `/api/test`. We attach the App Bridge token as a header. The endpoint verifies the token using `await verifyAppBridgeHeader(req)`. Only if the token is verified can you perform any desired action.
When the `<Test />` component is rendered, it makes a request to `/api/example`. We attach the App Bridge token as a header. The endpoint verifies the token using `await verifyAppBridgeHeader(req)`. Only if the token is verified can you perform any desired action.

### Tool Installation

Expand Down

0 comments on commit 9320f04

Please sign in to comment.