nebari-dev / nebari-users-create-from-google-form

This will create users in a Nebari deployment from a google form using keycloak's API.

Home Page:https://docs.google.com/forms/d/e/1FAIpQLScKNJykI-PpkSaA71kJNjb6nDVUy3D-oVK7zzQr4ji5KUrpWg/viewform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nebari user's from Google Form

Deploy Lambda Deploy AppScript

This will create users in Nebari using Keycloak's API.

The information flow is like the following:

  1. User fills in Google Form
  2. Google App's Script listens to form submission and sends the form data to AWS Lambda.
  3. AWS Lambda then calls the Keycloak's API to add users to the Nebari Deployment

Architecture

Below is a brief diagram for the architecture:

Nebari Auto Create

Creating credentials to deploy AppScript

  • Setting up clasp
npm install @google/clasp -g
clasp login
  • Set .clasprc.json (file in your home directory) to CLASPRC GitHub Actions secret
cat ~/.clasprc.json

About

This will create users in a Nebari deployment from a google form using keycloak's API.

https://docs.google.com/forms/d/e/1FAIpQLScKNJykI-PpkSaA71kJNjb6nDVUy3D-oVK7zzQr4ji5KUrpWg/viewform


Languages

Language:Python 78.2%Language:JavaScript 19.3%Language:Smarty 2.5%