Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Ag okta 404546 pr 1010 #1020

Merged
merged 6 commits into from Jul 2, 2021
Merged

Ag okta 404546 pr 1010 #1020

merged 6 commits into from Jul 2, 2021

Conversation

aarongranick-okta
Copy link
Contributor

Merges changes from #1010

NovaAtWarren and others added 5 commits June 15, 2021 13:57
Avoids deprecation message and insecure random usages
Caused by update without reading migration guide.
Test > e2e > harness > server.js > DemoServer > start now uses random UUID like it used to.
Fixed error in linting where eslint complained about using Promise.reject. This should function the same, without the error while linting
@@ -37,7 +37,10 @@ const makeTokenRevoker = ({ issuer, client_id, client_secret, errorHandler }) =>
body: querystring.stringify({token, token_type_hint: token_hint}),
})
// eslint-disable-next-line promise/no-nesting
.then( r => r.ok ? r : r.text().then(message => Promise.reject(new OIDCMiddlewareError('revokeError', message)) ))
// .then( r => r.ok ? r : r.text().then(message => Promise.reject(new OIDCMiddlewareError('revokeError', message)) ))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: comment can be removed

@aarongranick-okta aarongranick-okta merged commit f643ce6 into master Jul 2, 2021
@aarongranick-okta aarongranick-okta deleted the ag-OKTA-404546-pr-1010 branch July 2, 2021 05:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants