0.0.1-beta.6 • Published 7 years ago

rokta v0.0.1-beta.6

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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']));