Skip to content

devair/gcp-function

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors