rokta
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-beta.6 • Public • Published

Under development, don't use

Realster Okta Middleware

This module is a middleware for express to verify tokens with interospect of okta

Usage

const app = express();
app.use(cookieParser());
 
const client: IClient = {
  discoverUrl: 'oAuth disvoery url goes here',
  clientId: 'clientId for using in interospect call',
  clientSecret: 'clientSecret for using in interospect call'
}
 
app.use(auth.cookie(client, ['id_token', 'access_token']));

Readme

Keywords

none

Package Sidebar

Install

npm i rokta

Weekly Downloads

0

Version

0.0.1-beta.6

License

ISC

Last publish

Collaborators

  • amirsaber