Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ras0q/traq-oauth2
traq-oauth2 provides support for OAuth2 authentication in traQ
https://github.com/ras0q/traq-oauth2
go golang oauth2
Last synced: 2 months ago
JSON representation
traq-oauth2 provides support for OAuth2 authentication in traQ
- Host: GitHub
- URL: https://github.com/ras0q/traq-oauth2
- Owner: ras0q
- License: mit
- Archived: true
- Created: 2023-02-05T12:56:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T00:18:42.000Z (about 1 year ago)
- Last Synced: 2024-08-02T14:06:43.346Z (5 months ago)
- Topics: go, golang, oauth2
- Language: Go
- Homepage:
- Size: 40 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
⚠️ **This repository is now archived. Please use [traPtitech/go-traq-oauth2](https://github.com/traPtitech/go-traq-oauth2)** ⚠️
# traq-oauth2
[![Go Reference](https://pkg.go.dev/badge/github.com/ras0q/traq-oauth2.svg)](https://pkg.go.dev/github.com/ras0q/traq-oauth2)
traq-oauth2 provides support for OAuth2 authentication in [traQ](https://github.com/traPtitech/traQ)
## Features
- [Authorization Code Flow](https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1)
- Only this flow is supported in traQ.
- [Proof Key for Code Exchange](https://www.rfc-editor.org/rfc/rfc7636)
- PKCE is supported in traQ.
- Few dependencies
- traq-oauth2 only depends on [golang.org/x/oauth2](https://pkg.go.dev/golang.org/x/oauth2) and standard libraries.## Installation
```go
package mainimport (
// ...
traqoauth2 "github.com/ras0q/traq-oauth2"
)
```## Usage
See [example](./example)