Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud Function

Função servless para verificar a existência de um usuário no Cloud Identity. Se existir, retorna o registro encontrado. Caso contrário cria um novo registro.

Deploy no GCP

Para realizar o deploy no ambiente do GCP execute o comando abaixo no gcloud CLI

gcloud functions deploy auth-user \
  --gen2 \
  --runtime=nodejs20 \
  --region=us-central1 \
  --source=. \
  --entry-point=authUser \
  --trigger-http \
  --allow-unauthenticated \
  --set-env-vars APP_ENDPOINT=<APP_BASEURL>

  ~~~bash

About

Cloud function to create user on Google Identity Platform

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages