github-teams-oauth2

command module
v0.0.0-...-6b37c95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 1 Imported by: 0

README

github-teams-oauth2

github teams oauth2 wrapped github oauth2

http://localhost:8080/oauth2/authorize?client_id=test-client-id&state=123&response_type=code
CODE=
curl http://localhost:8080/oauth2/token \
    -d grant_type=authorization_code \
    -d code=$CODE \
    -d client_id=test-client-id
TOKEN=
curl http://localhost:8080/userinfo -H "Authorization: Bearer $TOKEN"

test client

go run test-client/main.go 8081

Documentation

Overview

Copyright © 2024 Takahiro INAGAKI <inagaki0106@gmail.com>

Directories

Path Synopsis
ent
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL