Kyrodan / KeeAnywhere

A cloud storage provider plugin for KeePass Password Safe

Home Page:https://keeanywhere.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OneDrive can't add OneDrive, auth fails.

micceo opened this issue · comments

Hi!

Need some guidence here I think.

I've removed and added OneDrive and get an error.

The Authentication look good through the browser but AnyWhere shows me this:

Authorization failed:
Error validating token response: Error validating identity token:
Microsoft. IdentityModel.Tokens.SecurityToken NotYetValidExcept
ion: IDX10222: Lifetime validation failed. The token is not yet
valid. ValidFrom: '[PII is hidden. For more details, see
https://aka.ms/ldentityModel/Pll.l', Current time: '[PII is hidden.
For more details, see https://aka.ms/ldentityModel/Pll.]'.
at
Microsoft. IdentityModel.Tokens.Validators.ValidateLifetime(Null
able'l notBefore, Nullable'l expires, SecurityToken
securityToken, TokenValidationParameters
validationParameters)
at
System. IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.Valid
notBefore, Nullabl@l expires,
JwtSecurityToken jwtToken, TokenValidationParameters
validationParameters)
at
System. IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.Valid
ateTokenPayload(JwtSecurityToken jwtToken,
TokenValidationParameters validationParameters)
at
IdentityModel.OidcClient.ldentityTokenValidator.ValidateSignat
ure(String identityToken, JwtSecurityTokenHandler handler,
TokenValidationParameters parameters)
at
IdentityModel.OidcClient. IdentityTokenValidator. <ValidateAsync
>d_4.MoveNext0

Any tips on how I reestablish the connection to OneDrive?

I have the same problem on windows 11

I have the same problem with KeeAnywhere v2.0.3 on windows 11 too.

image

Is there a known solution?

I gave up. Saving the file to a local folder within OneDrive sync, it works pretty much the same. This file is also synced/accessed from multiple other devices including an android.

thanks! I actually now found it it was a firewall issue with the corporate network I was on. They support KeePass and plugins but the network blocks personal cloud accounts on the LAN. The workaround was to unplug the ethernet, connect on a wifi and the plugin works again now.

I can't use OneDrive sync in file explorere as that is blocked too.