Skip to content

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

License

Notifications You must be signed in to change notification settings

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

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages