Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/winebarrel/goth-esa
Goth provider for esa.
https://github.com/winebarrel/goth-esa
esa-io oauth2
Last synced: 3 months ago
JSON representation
Goth provider for esa.
- Host: GitHub
- URL: https://github.com/winebarrel/goth-esa
- Owner: winebarrel
- License: mit
- Created: 2021-11-21T09:17:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T08:44:38.000Z (4 months ago)
- Last Synced: 2024-10-08T10:19:37.904Z (3 months ago)
- Topics: esa-io, oauth2
- Language: Go
- Homepage:
- Size: 599 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# goth-esa
[![CI](https://github.com/winebarrel/goth-esa/actions/workflows/ci.yml/badge.svg)](https://github.com/winebarrel/goth-esa/actions/workflows/ci.yml)
[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/winebarrel/goth-esa)](https://github.com/winebarrel/goth-esa/tags)[Goth](https://github.com/markbates/goth) provider for [esa](https://docs.esa.io/posts/102#OAuth%E3%82%92%E5%88%A9%E7%94%A8%E3%81%97%E3%81%9F%E8%AA%8D%E5%8F%AF%E3%83%95%E3%83%AD%E3%83%BC).
## Getting Started
See [the official documentation](https://docs.esa.io/posts/102#OAuth%E3%82%92%E5%88%A9%E7%94%A8%E3%81%97%E3%81%9F%E8%AA%8D%E5%8F%AF%E3%83%95%E3%83%AD%E3%83%BC).
1. Register your application from `https://[team].esa.io/user/applications`
* Redirect URI: `http://localhost:3000/auth/esa/callback`
1. Set the following environment variables
* `ESA_KEY`: OAuth2 Client ID
* `ESA_SECRET`: OAuth2 Secret
1. Run `make`
1. Open http://localhost:3000## Usage
See https://github.com/winebarrel/goth-esa/blob/main/_example/main.go