mirror of
https://github.com/floccusaddon/floccus
synced 2025-04-29 15:57:24 +08:00
[ios] Add oauth credentials for Google Drive
This commit is contained in:
parent
5cf46b751a
commit
0cf231504d
@ -1,2 +1,11 @@
|
||||
{"web":{"client_id":"305459871054-4rr6n0jmsdvvprtjqbma5oeksshis2bn.apps.googleusercontent.com","project_id":"floccus-1613668481464","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"-2C9DALj2JYEGhZMZTvzN2ZE","redirect_uris":["https://mbepccofdnoepgicagpchfmafecckdam.chromiumapp.org/","https://76a380c4950986998208e7bb9dbd8fea94c91504.extensions.allizom.org/"]},
|
||||
"installed":{"client_id":"305459871054-05e7kf9q9kkbeovaf380ldsb248psc2d.apps.googleusercontent.com","project_id":"floccus-1613668481464","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]}}
|
||||
{
|
||||
"web":{
|
||||
"client_id":"305459871054-4rr6n0jmsdvvprtjqbma5oeksshis2bn.apps.googleusercontent.com","project_id":"floccus-1613668481464","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"-2C9DALj2JYEGhZMZTvzN2ZE","redirect_uris":["https://mbepccofdnoepgicagpchfmafecckdam.chromiumapp.org/","https://76a380c4950986998208e7bb9dbd8fea94c91504.extensions.allizom.org/"]
|
||||
},
|
||||
"android":{
|
||||
"client_id":"305459871054-05e7kf9q9kkbeovaf380ldsb248psc2d.apps.googleusercontent.com","project_id":"floccus-1613668481464","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]
|
||||
},
|
||||
"ios": {
|
||||
"client_id": "305459871054-ovvunbhc8jf8g467gtpsbnap5el302gq.apps.googleusercontent.com"
|
||||
}
|
||||
}
|
||||
|
@ -20,9 +20,14 @@ const OAuthConfig = {
|
||||
resourceUrl: 'https://www.googleapis.com/drive/v3/about?fields=user/displayName',
|
||||
logsEnabled: true,
|
||||
android: {
|
||||
appId: Credentials.installed.client_id,
|
||||
appId: Credentials.android.client_id,
|
||||
responseType: 'code', // if you configured a android app in google dev console the value must be "code"
|
||||
redirectUrl: 'org.handmadeideas.floccus:/' // package name from google dev console
|
||||
},
|
||||
ios: {
|
||||
appId: Credentials.ios.client_id,
|
||||
responseType: 'code',
|
||||
redirectUrl: 'org.handmadeideas.floccus:/'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user