# Docusaurus Authentication (Roadmap)

## Background

[Docusaurus](https://docusaurus.io/) is a well-designed, and user-friendly documentation generator tool with a modern and optimized codebase that supports multiple plugins to make it easier for either a normal user or a developer to ship out a documentation website swiftly.

## Projects

I have utilized Docusaurus to create multiple websites like:

* My portfolio website: [https://iammassoud.net](https://iammassoud.net/)
    
* My free programming tutorial website: [https://datagit.ir](https://datagit.ir)
    
* Auth flow for [https://hest.io](https://hest.io)
    
* Documentation of [https://docs.tradingwolf.com](https://docs.tradingwolf.com)
    

## What is missing?

This tool provides everything you need except for some important features like the Authentication layer.

## Goal

The Authentication layer helps you create an internal documentation website for your company, or you can use it to provide subscription-based documentation for your product.

## Resources

I searched the web and I was able to find some efforts for the older versions of Docusaurus using Firebase. Though I would like to introduce a step-by-step guide to adding an Authentication layer to a Docusaurus website using common Auth providers. You can find the links to those articles below:

### AWS Cognito

* [**Docusaurus Authentication using AWS Cognito**](https://iammassoud.net/blog/docusaurus-authentication-using-aws-cognito)
    
* [**Protect Custom Routes in Docusaurus using AWS Cognito**](https://iammassoud.net/blog/protect-custom-routes-in-docusaurus-using-aws-cognito)
    

### Google Firebase

* [**Docusaurus authentication using Google Firebase**](https://iammassoud.net/blog/docusaurus-authentication-using-google-firebase)
    
* [**Protect Custom Routes in Docusaurus using Google Firebase**](https://iammassoud.net/blog/protect-custom-routes-in-docusaurus-using-google-firebase)
    
* [**SignUp|SignIn Limitation Using Google Firebase**](https://iammassoud.net/blog/signup-signin-limitation-using-google-firebase)
    

### Auth0

* **Docusaurus authentication using Auth0** *(Coming soon)*
    

In each article, you can find the step-by-step guide and also the GitHub repository contains the working example as well.

In addition, please let me know if you need to implement the Auth flow using another provider so I can add it as well.

## Support

In the end, if you find the articles useful, don’t forget to support me at least with a message :)

%%[buymeacoffee]
