src/client.js
/**
 * Generate the data needed to send to a remote server for dynamically registering a client
 */
Generate the data needed to send to a remote server for dynamically registering a client
Generate the data needed to send to a remote server for dynamically registering a client
generateRegistrationMetaData() {
    let config = {
      "client_name": this.options.client_name,
      "token_endpoint_auth_method": "client_credentials"
    }
    if (this.options.jwks_uri) {
      config.jwks_uri = this.options.jwks_uri
    } else {
      config.jwks = this.jwks
    }
    return config
  }
generateRegistrationMetaData ( ) { let config = { "client_name" : this . options . client_name , "token_endpoint_auth_method" : "client_credentials" } if ( this . options . jwks_uri ) { config . jwks_uri = this . options . jwks_uri } else { config . jwks = this . jwks } return config }
Generate the data needed to send to a remote server for dynamically registering a client
Generate the data needed to send to a remote server for dynamically registering a client
// add either the uri for the clients public keys or add the keys directly