You meant to say Object.keys(req.body), right? #3

Closed
opened 2021-06-09 00:23:48 +00:00 by coolaj86 · 1 comment
Owner
    return Promise.all(Object.keys(resp.body).map(function (jwk) {
      // EC keys have an x values, whereas RSA keys do not
      var Keypairs = jwk.x ? Eckles : Rasha;
```js return Promise.all(Object.keys(resp.body).map(function (jwk) { // EC keys have an x values, whereas RSA keys do not var Keypairs = jwk.x ? Eckles : Rasha; ```
Author
Owner
Nope! That was correct. See example of JWKs format: - https://www.googleapis.com/oauth2/v3/certs - https://therootcompany.com/blog/google-sign-in-javascript-api/
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coolaj86/keyfetch.js-ARCHIVED#3
No description provided.