OAuth2 Support

Before proceeding, it would be good to check the tutorial below

Integrating social OAuth2 providers is streamlined with fastify-grant and grant, enabling users to log in via platforms like Google, Facebook, or GitHub.

With minimal effort, developers can offer secure and user-friendly login options, enhancing accessibility and reducing friction during authentication.

Supported Providers

Github

Implementation: https://github.com/madewithnovel/novel/blob/main/app/auth/github.ts

You will need to provide the Github Oauth2 App Credentials in your .env file.

Description

GITHUB_CLIENT_ID

The client ID for the github app

GITHUB_SECRET_KEY

The secret key for the github app

You can get them here: https://github.com/settings/applications/new

Need more? Check out the roadmap or request it in our Community.

Changelog

  • 2024-12-20 - Initial Documentation

Last updated

Was this helpful?