-
-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save OAuth tokens with port number, scheme and hostname from token URL. #15393
Conversation
dkocher
commented
Nov 22, 2023
•
edited
Loading
edited
- Resolves Make OAuth prefix used for storing credentials configurable; use port, scheme and hostname from token URL instead from protocol #15113
- Resolves Shared OAuth refresh token not accepted #15284
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Outdated
Show resolved
Hide resolved
c745e12
to
8ef758d
Compare
core/src/main/java/ch/cyberduck/core/DefaultHostPasswordStore.java
Outdated
Show resolved
Hide resolved
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Outdated
Show resolved
Hide resolved
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Outdated
Show resolved
Hide resolved
core/src/main/java/ch/cyberduck/core/DefaultHostPasswordStore.java
Outdated
Show resolved
Hide resolved
539ff33
to
3bf26e8
Compare
5c2c015
to
dfc52f3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Show resolved
Hide resolved
core/src/main/java/ch/cyberduck/core/DefaultHostPasswordStore.java
Outdated
Show resolved
Hide resolved
core/src/main/java/ch/cyberduck/core/DefaultHostPasswordStore.java
Outdated
Show resolved
Hide resolved
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Show resolved
Hide resolved
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Show resolved
Hide resolved
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Outdated
Show resolved
Hide resolved
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left my comments/suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with suggestions.
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Show resolved
Hide resolved
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Show resolved
Hide resolved
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Show resolved
Hide resolved
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Show resolved
Hide resolved
@@ -86,7 +87,7 @@ public override void deletePassword(Scheme scheme, int port, string hostName, st | |||
|
|||
public override string findLoginPassword(Host bookmark) | |||
{ | |||
var target = ToUri(bookmark); | |||
var target = ToUri(bookmark)[0]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var target = ToUri(bookmark)[0]; | |
var target = ToUri(bookmark)[0]; // non-OAuth case |
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Show resolved
Hide resolved
core/src/main/csharp/ch/cyberduck/core/CredentialManagerPasswordStore.cs
Show resolved
Hide resolved
Requires instructing support and amending Docs. |