Skip to main content
100%

firebaseCustomTokenServerless.yml

✓ Published0🌍 Public
Aandresmijares
Last edited Apr 28, 2019
Created on Apr 28, 2019

This example shows a serverless AWS configuration for issuing Firebase custom authentication tokens through a POST endpoint. The YAML file defines a single `auth` function using the `serverless-pseudo-parameters` plugin to reference CloudFormation resources. The function handler, `firebaseCustomTokenLambda.handler`, is triggered by an HTTP POST event at the `/auth` path. The runtime is Node.js 8.10, and the service is named `firebase-custom-token`. The file demonstrates how to wire a Firebase token-generation service into an API Gateway using the Serverless Framework, without including the actual Lambda implementation.

AI-generated description

Similar vizzes