Socket
Socket
Sign inDemoInstall

auth0-hooks-templates

Package Overview
Dependencies
4
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    auth0-hooks-templates

Auth0 hook templates


Version published
Weekly downloads
41
decreased by-2.38%
Maintainers
4
Install size
754 kB
Created
Weekly downloads
 

Readme

Source

Auth0 Hooks Templates

This repository contains all the templates for the new version of hooks.

Template sample

friendlyName: Client credentials
description: |
  This extensibility point allows custom code to modify the scopes 
  and add custom claims to the tokens issued from the POST /oauth/token Auth0 API.
wtCompiler: auth0-ext-compilers/client-credentials-exchange
auth0ExtensionName: credentials-exchange
auth0Extension: runtime
sample: |
  module.exports = function(client, scope, audience, context, cb) {
    var access_token = {};
    access_token['https://foo.com/claim'] = 'bar';
    access_token.scope = scope;
    access_token.scope.push('extra');
    cb(null, access_token);
  };

Keywords

FAQs

Last updated on 14 Mar 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc