Skip to content

Instantly share code, notes, and snippets.

View larsfuehrer's full-sized avatar
🏠
Working from home

Lars Fuehrer larsfuehrer

🏠
Working from home
  • Rostock, Germany
View GitHub Profile
@larsfuehrer
larsfuehrer / add-github-orgs-to-user-meta.js
Created March 7, 2021 09:58 — forked from aslafy-z/add-github-orgs-to-user-meta.js
Auth0 rule to check organization of Github users
// Auth0 custom rule
// Add Github Organizations to the user metadata
//
// This rule need the following configurations values
// AUTH0_DOMAIN_NAME: your auth0 domain name
// MANAGEMENT_CLIENT_ID: your auth0 management api client id
// MANAGEMENT_CLIENT_SECRET: your auth0 management api client secret
//
// You have to create an Management API Application with proper
// scope to allow rule to fetch user organizations.