diff --git a/OAuthSample/Preview Content/oauth.json b/OAuthSample/Preview Content/oauth.json index 0b60302..a3ff7f9 100644 --- a/OAuthSample/Preview Content/oauth.json +++ b/OAuthSample/Preview Content/oauth.json @@ -1,4 +1,47 @@ [ + { + "id": "Auth0", + "authorizationURL": "https://domain.us.auth0.com/authorize", + "accessTokenURL": "https://domain.us.auth0.com/oauth/token", + "deviceCodeURL": "https://domain.us.auth0.com/oauth/device/code", + "clientID": "CLIENT_ID", + "clientSecret": "CLIENT_SECRET", + "redirectURI": "https://github.com/codefiesta/", + "scope": [ + "email", + "profile", + "openid" + ], + "debug": true, + }, + { + "id": "Box", + "authorizationURL": "https://account.box.com/api/oauth2/authorize", + "accessTokenURL": "https://api.box.com/oauth2/token", + "clientID": "CLIENT_ID", + "clientSecret": "CLIENT_SECRET", + "redirectURI": "https://github.com/codefiesta/", + "scope": [ + "root_readwrite" + ], + "debug": true, + }, + { + "id": "Dropbox", + "authorizationURL": "https://www.dropbox.com/oauth2/authorize", + "accessTokenURL": "https://api.dropboxapi.com/oauth2/token", + "clientID": "CLIENT_ID", + "clientSecret": "CLIENT_SECRET", + "redirectURI": "https://github.com/codefiesta/", + "scope": [ + "email", + "profile", + "openid", + "files.metadata.write", + "files.content.write", + ], + "debug": true, + }, { "id": "GitHub", "authorizationURL": "https://github.com/login/oauth/authorize", @@ -55,6 +98,22 @@ ], "debug": true, }, + { + "id": "Stripe", + "authorizationURL": "https://marketplace.stripe.com/oauth/v2/authorize", + "accessTokenURL": "https://api.stripe.com/v1/oauth/token", + "clientID": "CLIENT_ID", + "clientSecret": "CLIENT_SECRET", + "redirectURI": "https://dashboard.stripe.com/test/apps-oauth/com.example.code-fiesta", + "scope": [ + "connected_account_read", + "balance_read", + "charge_read", + "customer_read", + "order_read" + ], + "debug": true + }, { "id": "LinkedIn", "authorizationURL": "https://www.linkedin.com/oauth/v2/authorization", @@ -70,5 +129,4 @@ ], "debug": true, } - ]