Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 952 Bytes

File metadata and controls

27 lines (20 loc) · 952 Bytes

ASP.NET-Core-5.0-API-Firebase-Token-Authentication

Table of contents

General info

Simple example of how to implement Firebase Token Authentication in a ASP.NET Core 5.0 API with C#.

alt text

Technologies

Project is created with:

  • ASP.NET Core 5.0 C#
  • FireabaseAdmin 2.2.0
  • Swagger (Swashbuckle.AspNetCore 5.6.3)

Setup

To run this project, clone this repo.

Change Web API Key in appsettings.json. Web API Key you can find in Firebase Console -> Project Settings

Put Firebase Admin Secret Key in firebase-adminsdk-secret-key.json Firebase Admin Secret Key you can find at link (Replace [YOUR_PROJECT_ID] by your project ID) https://console.firebase.google.com/u/0/project/[YOUR_PROJECT_ID]/settings/serviceaccounts/adminsdk