mirror of https://github.com/keeweb/keeweb
fix #1713: OneDrive authentication on web
parent
215f398547
commit
b9a5c64113
|
@ -26,10 +26,12 @@ const GDriveApps = {
|
|||
|
||||
const OneDriveApps = {
|
||||
Local: {
|
||||
id: 'b97c53d5-db5b-4124-aab9-d39195293815',
|
||||
secret: 'V9b6:iJU]N7cImE1f_OLNjqZJDBnumR?'
|
||||
id: 'b97c53d5-db5b-4124-aab9-d39195293815'
|
||||
},
|
||||
Production: {
|
||||
id: 'bbc74d1b-3a9c-46e6-9da4-4c645e830923'
|
||||
},
|
||||
Desktop: {
|
||||
id: 'bbc74d1b-3a9c-46e6-9da4-4c645e830923',
|
||||
secret: 'aOMJaktJEAs_Tmh]fx4iQ[Zd3mp3KK7-'
|
||||
}
|
||||
|
|
|
@ -222,7 +222,9 @@ class StorageOneDrive extends StorageBase {
|
|||
let clientId = this.appSettings.onedriveClientId;
|
||||
let clientSecret = this.appSettings.onedriveClientSecret;
|
||||
if (!clientId) {
|
||||
if (Features.isLocal) {
|
||||
if (Features.isDesktop) {
|
||||
({ id: clientId, secret: clientSecret } = OneDriveApps.Desktop);
|
||||
} else if (Features.isLocal) {
|
||||
({ id: clientId, secret: clientSecret } = OneDriveApps.Local);
|
||||
} else {
|
||||
({ id: clientId, secret: clientSecret } = OneDriveApps.Production);
|
||||
|
|
|
@ -17,6 +17,7 @@ Release notes
|
|||
|
||||
##### v1.16.8 (TBD)
|
||||
`-` fix #1726: search in protected fields
|
||||
`-` fix #1713: OneDrive authentication on web
|
||||
|
||||
##### v1.16.7 (2020-12-31)
|
||||
`-` fix #1671: new lines removal issue in notes
|
||||
|
|
Loading…
Reference in New Issue