Replies: 4 comments
-
|
A generic "OAUth2" login would be useful of course. However I'm not sure but wouldn't we need some kind of server-specific Client ID in DAVx5 to make that a safe "generic" authentication? I'm also not sure if OAuth2 is working the same on all implementations. Maybe @rfc2822 knows more, since they implemented this in DAVx5. I also converted this issue into a discussion, since it is not a real issue. |
Beta Was this translation helpful? Give feedback.
-
But you would have to enter multiple URLs plus scopes plus a client ID (like the values defined for Fastmail). I suspect most users either don't have these data or it would be far more work than just logging in with user name / (app) password. |
Beta Was this translation helpful? Give feedback.
-
|
For anything that uses a proxy (e.g. oauth2-proxy, OAP), you don't need a client id, you just need to be able to open a browser and save the cookie to be passed on requests. The proxy handles the rest, it's the oath2 client, the only thing that DAVx5 needs to do is launch the browser and note the cookies for use by the http client later. |
Beta Was this translation helpful? Give feedback.
-
|
The current best practice on implementing OAuth for mobile apps is to use a public client. Luckily the two url's can be retrieved form the OIDC well-known url which is based on the issuer url, so the user would only have to enter one. This is also how Google & Fastmail auth are implemented in Davx5, but there these are hard coded for those specific providers. The could thing is that the OAuth code could be reused from those implementations.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem scope
App version
Android version and device/firmware type
Android 14 (Lineage 22)
Steps to reproduce
Actual result
DavX5 claims there is no CalDAV or CardDAV server at the url
Expected result
An oauth flow to occur - open the embedded browser like google or fastmail (I assume, I don't connect these services to my phone) does.
Further info
I suspect this requires a separate login type in the list (url and username; email address; advanced login) or an option within the advanced login to trigger an oauth flow.
More and more services are going oauth2 so having the ability to manually configure as oauth rather than a fixed list would be good imo.
Beta Was this translation helpful? Give feedback.
All reactions