feat(api-auth): add oauth strategies for github qq wechat
This commit is contained in:
@@ -3,3 +3,16 @@ AUTH_ACCESS_SECRET="dev-access-secret"
|
||||
AUTH_ACCESS_EXPIRES_IN_SECONDS="900"
|
||||
AUTH_REFRESH_EXPIRES_IN_SECONDS="2592000"
|
||||
AUTH_EMAIL_CODE_TTL_SECONDS="300"
|
||||
OAUTH_GITHUB_CLIENT_ID="github-client-id"
|
||||
OAUTH_GITHUB_CLIENT_SECRET="github-client-secret"
|
||||
OAUTH_GITHUB_CALLBACK_URL="http://localhost:3000/auth/oauth/github/callback"
|
||||
OAUTH_QQ_CLIENT_ID="qq-client-id"
|
||||
OAUTH_QQ_CLIENT_SECRET="qq-client-secret"
|
||||
OAUTH_QQ_CALLBACK_URL="http://localhost:3000/auth/oauth/qq/callback"
|
||||
OAUTH_QQ_AUTH_URL="https://graph.qq.com/oauth2.0/authorize"
|
||||
OAUTH_QQ_TOKEN_URL="https://graph.qq.com/oauth2.0/token"
|
||||
OAUTH_WECHAT_CLIENT_ID="wechat-client-id"
|
||||
OAUTH_WECHAT_CLIENT_SECRET="wechat-client-secret"
|
||||
OAUTH_WECHAT_CALLBACK_URL="http://localhost:3000/auth/oauth/wechat/callback"
|
||||
OAUTH_WECHAT_AUTH_URL="https://open.weixin.qq.com/connect/qrconnect"
|
||||
OAUTH_WECHAT_TOKEN_URL="https://api.weixin.qq.com/sns/oauth2/access_token"
|
||||
|
||||
Reference in New Issue
Block a user