How to use @solid/oidc-op - 1 common examples

To help you get started, we’ve selected a few @solid/oidc-op examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github solid / node-solid-server / lib / requests / auth-request.js View on Github external
if (!params) { return {} }

    let extracted = {}

    let paramKeys = AUTH_QUERY_PARAMS
    let value

    for (let p of paramKeys) {
      value = params[p]
      // value = value === 'undefined' ? undefined : value
      extracted[p] = value
    }

     // Special case because solid-auth-client does not include redirect in params
    if (!extracted['redirect_uri'] && params.request) {
      extracted['redirect_uri'] = IDToken.decode(params.request).payload.redirect_uri
    }

    return extracted
  }

@solid/oidc-op

OpenID Connect Provider

MIT
Latest version published 3 years ago

Package Health Score

43 / 100
Full package analysis

Popular @solid/oidc-op functions

Similar packages