A Go-based authentication project utilizing the Jade library to provide a seamless authentication experience.
This project aims to demonstrate the usage of the Jade library for authentication purposes. It includes examples for various authentication providers, such as Google, GitHub, and custom providers.
- Authentication with multiple providers (Google, GitHub, etc.)
- Custom provider implementation
- Session management using JadeStore
- Middleware for checking user login status
To install the project, run the following command:
go get github.com/djsisson/jade
To use the project, import the jade
package and use the provided functions for authentication and session management.
import "github.com/djsisson/jade"
The project includes several examples to demonstrate the usage of the Jade library:
- examples/basic: A basic example using Google authentication
- examples/custom_provider: An example using a custom authentication provider
- examples/custom_store: An example using a custom session store
To run the examples, navigate to the respective directory and execute the main.go
file using the go run
command.
This project is licensed under the MIT License. See LICENSE
for more information.