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

datocms-plugin-netlify-identity

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datocms-plugin-netlify-identity

A plugin that nicely displays Netlify identity user info instead of the raw ID

  • 0.0.20
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
20
increased by566.67%
Maintainers
4
Weekly downloads
 
Created
Source

Netlify Identity DatoCMS plugin

A plugin that nicely displays Netlify Identity user info instead of the raw ID.

Configuration

To fetch user info for your Netlify Identity instance, you need to publish a specific Netlify function.

Install the datocms-plugin-netlify-identity package in your project, then add a file called user-info.js in your functions folder with the following content:

const generateHandler = require('datocms-plugin-netlify-identity');

const accessToken = 'CHANGEME';

exports.handler = generateHandler(accessToken);

Once deployed, you can configure the plugin setting inserting both the URL of the Netlify function, and the access token you chose:

Demo

Development

Install all the project dependencies with:

yarn install

Start the local development server with:

yarn start

The plugin will be served from https://datocms-plugin-netlify-identity.localtunnel.me/. Insert this URL as the plugin Entry point URL.

Keywords

FAQs

Package last updated on 07 Apr 2020

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