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

Closed
opened 3 years ago by coolaj86 · 1 comments
coolaj86 commented 3 years ago
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; ```
Poster
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/
coolaj86 closed this issue 3 years ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.