Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auth0-hooks-templates

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth0-hooks-templates

Auth0 hook templates

  • 1.2.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
4
Created
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

Package last updated on 14 Mar 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc