Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
const express = require('express'); | |
const { OktaAuth, AuthenticatorKey } = require('@okta/okta-auth-js'); | |
const myMemoryStore = {}; | |
const storageProvider = { | |
getItem: function (key) { | |
return myMemoryStore[key]; | |
}, | |
setItem: function (key, val) { | |
myMemoryStore[key] = val; |