From c68e2d29f279c1fdeaa1c121281039144683c185 Mon Sep 17 00:00:00 2001 From: robertjd Date: Mon, 11 Jun 2018 15:21:36 -0700 Subject: [PATCH] docs[jwt-verifier]: Verifier is only for Node.js, link to Express example (#223) --- packages/jwt-verifier/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/jwt-verifier/README.md b/packages/jwt-verifier/README.md index bb7d0d396..85e28686b 100644 --- a/packages/jwt-verifier/README.md +++ b/packages/jwt-verifier/README.md @@ -1,4 +1,4 @@ -# Okta JWT Verifier +# Okta JWT Verifier for Node.js [![npm version](https://img.shields.io/npm/v/@okta/jwt-verifier.svg?style=flat-square)](https://www.npmjs.com/package/@okta/jwt-verifier) [![build status](https://img.shields.io/travis/okta/okta-oidc-js/master.svg?style=flat-square)](https://travis-ci.org/okta/okta-oidc-js) @@ -9,6 +9,10 @@ This library verifies Okta access tokens (issued by Okta authorization servers) * Access token is not expired (requires local system time to be in sync with Okta, checks the `exp` claim of the access token). * Any custom claim assertions that have been configured. +> This library is for Node.js applications and will not compile into a front-end application. If you need to work with tokens in front-end applications, please see [okta-auth-js](https://github.com/okta/okta-auth-js). + +Using Express? Our [Express Resource Server Example](https://github.com/okta/samples-nodejs-express-4/tree/master/resource-server) will show you how to use this library in your Express application. + To learn more about verification cases and Okta's tokens please read [Working With OAuth 2.0 Tokens](https://developer.okta.com/authentication-guide/tokens/) ## How to use