|
@@ -0,0 +1,19 @@
|
|
|
+// oauth configuration for provider services that are used.
|
|
|
+module.exports = () => {
|
|
|
+ return {
|
|
|
+ google: {
|
|
|
+ scope: [
|
|
|
+ 'https://www.googleapis.com/auth/drive.readonly'
|
|
|
+ ],
|
|
|
+ callback: '/drive/callback'
|
|
|
+ },
|
|
|
+ dropbox: {
|
|
|
+ authorize_url: 'https://www.dropbox.com/oauth2/authorize',
|
|
|
+ access_url: 'https://api.dropbox.com/oauth2/token',
|
|
|
+ callback: '/dropbox/callback'
|
|
|
+ },
|
|
|
+ instagram: {
|
|
|
+ callback: '/instagram/callback'
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|