Skip to content

yts-takahashi/GoOAuth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoOAuth

概要

GoでOAuthを行うサンプルプログラム

セットアップ

go get github.com/markbates/goth
を実行して、 goth モジュールを取得。

config.jsonに以下のように、各プラットフォームの client idsecret を記述していく必要がある。

{
    "google":{
        "client_id" : "YOUR_CLIENT_ID",
        "secret" : "YOUR_SECRET"
    },
    "amazon":{
        "client_id" : "YOUR_CLIENT_ID",
        "secret" : "YOUR_SECRET"
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published