Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nozomi-koborinai/blocking-function-for-gcip
Blocking Function sample in Indetity Platform
https://github.com/nozomi-koborinai/blocking-function-for-gcip
firebase firebase-auth google-cloud identity-platform
Last synced: 2 days ago
JSON representation
Blocking Function sample in Indetity Platform
- Host: GitHub
- URL: https://github.com/nozomi-koborinai/blocking-function-for-gcip
- Owner: nozomi-koborinai
- Created: 2025-01-25T02:51:11.000Z (5 days ago)
- Default Branch: main
- Last Pushed: 2025-01-25T05:33:58.000Z (5 days ago)
- Last Synced: 2025-01-25T06:21:06.555Z (5 days ago)
- Topics: firebase, firebase-auth, google-cloud, identity-platform
- Language: TypeScript
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blocking-function-sample
## Identity Platform
```bash
npm init -ynpm install typescript @types/node --save-dev
npx tsc --init
npm install gcip-cloud functions
gcloud functions deploy before-create \
--region=asia-northeast1 \
--runtime nodejs20 \
--no-gen2 \
--trigger-http \
--allow-unauthenticated \
--entry-point=beforeCreate \
--set-env-vars GCP_PROJECT=$project_id
```## References
- [Customizing the authentication flow using blocking functions](https://cloud.google.com/identity-platform/docs/blocking-functions)
- [Blocking functions reference](https://cloud.google.com/identity-platform/docs/reference/gcip-cloud-functions)
- [Google Cloud Identity Platform Blocking Functions](https://www.npmjs.com/package/gcip-cloud-functions)