Fix build and add okta oauth2 scope normalization

This commit is contained in:
Nicholas Pirrello
2020-06-25 18:20:13 -04:00
parent 5b4407d92b
commit 144a3b9294
4 changed files with 51 additions and 4 deletions
@@ -59,10 +59,10 @@ export class OktaAuthProvider implements OAuthProviderHandlers {
* allowing us to avoid using express-session in order to integrate with Okta.
*/
private _store: StateStore = {
store(req: Request, cb: any) {
store({}, cb: any) {
cb(null, null);
},
verify(req: Request, state: string, cb: any) {
verify({}, {}, cb: any) {
cb(null, true);
},
}