/oauth2-client

OAuth 2.0 Client Application Basic Sample

Primary LanguageJavaScriptMIT LicenseMIT

OAuth 2.0 Client Application

OAuth 2.0 Client Application Basic Sample

Environment variables

Name Explanation Example
OAUTH_AUTHORIZATION_URL OAuth 2.0 provider authorization URL http://api.example.com/oauth/2.0/authorize
OAUTH_ACCESS_TOKEN_URL OAuth 2.0 provider access token URL http://api.example.com/oauth/2.0/access_token
OAUTH_PROFILE_URL OAuth 2.0 Profile URL http://api.example.com/profile
OAUTH_CALLBACK_URL OAuth 2.0 Callback URL http://app.example.com/oauth/2.0/callback
OAUTH_CLIENT_ID OAuth 2.0 Client ID (no example)
OAUTH_CLIENT_SECRET OAuth 2.0 Client Secret (no example)