-
Notifications
You must be signed in to change notification settings - Fork 131
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
OAuth 2.0 end-to-end experience #267
Comments
This is happening because OAuth2 uses SFAuthenticationSession by default instead of SFSafariViewController. There is unfortunately nothing we can do at the moment to either change or remove these alerts when using SFAuthenticationSession. |
@hosy Problem 1 ==> Screenshot 1. This isn't about the alert popping up. |
Maybe this have something to do with the server certificate. I think @felix-schwarz could have an answer for this step. |
@michaelstingl a possible solution could look like this examples:
|
@hosy Yeah, I like! 👍 But: color as only differentiator doesn't work for colorblind user. Suggestions:
I was also thinking about an option to skip this step in the future, but this will clutter too… |
@michaelstingl here you can see a new draft for this view.
Left screenshot has info panel on top
|
My gut feeling would favorite the left one (info on top) |
…nformations for OAuth 2 login - added additional informations for certificate validation as label and text
Let's go with a bit of QA here |
In the message to clarify the warning, there is a small typo.
"OAuth 2" => "OAuth2" |
About the OCCertificate color labels, i can reproduce |
@jesmrc I don’t know how to force Rejected. |
about the statuses, i will add more UI tests to cover all options. |
@jesmrec is there a public OC server with OAuth2 and http for testing? |
no, afaik. But you can create a docker in this way:
Maybe, there are another "scripted" way to do it. |
typo is fixed. i will address the tests in a separate issue. When |
You don't need to exec into the Docker to install apps: |
Missing SSL should also trigger a cert warning 😱 /cc @felix-schwarz |
thanks for the tip!! |
Unless the user enters a URL starting with I think we have several options here:
If we pick the SDK-option, I'd also like to add an OCClassSettings/MDM option
|
@felix-schwarz I like the SDK-option, because it is fixed inside the SDK and cannot be removed. It is more secure by default. |
@hosy I agree. |
@hosy Just pushed the SDK-implementation and some necessary app-changes in owncloud/ios-sdk@89f5b7b and #328 respectively. Chances are some UI tests need to be adapted (I didn't check, yet). |
@jesmrec for http I added an additional step to show the OAuth info text, before the OAuth authentication process is performed. There is now one step more for http connections, but this should be rare, because https should be the standard. |
* #267 - added a info view as tableview header for showing additional informations for OAuth 2 login - added additional informations for certificate validation as label and text * better value handling * changed function name to better reflect, what it does * now using theme colors * fixed typo * Fix for http connections and OAuth authentication - new sdk is used, which supports warnings for https connections - for http connections, continue only, if OAuthInfoHeader was shown to the user, before OAuth authentication is performed * fixed ui test for OAuth http test, added additional Continue step * - correct handling of OAuth Header in edit mode - remove certificate description, if certificate was removed from bookmark - added new helper methods for updating header / footer title in TableView Section without loosing text field focus * - fixed wrong table header view height, if it was not set - fixed additional continue step in edit mode for http token based connections * fixed ui test, because password field is not visible on iPhone 8 (used test device)
Problem 1
@felix-schwarz @mneuwert @hosy
Problem 2
"ownCloud" Wants to Use…
(see Screenshot 2)The application "iOS" is requesting…
(see Screenshot 3 & Screenshot 4)@DeepDiver1975 we should rename it in the OAuth 2.0 app to "ownCloud iOS app".
@felix-schwarz Any chance it could say "ownCloud app" or "ownCloud iOs app" in the warning message?
Steps to reproduce
40fe0ab
) on ownCloud serverClient
iOS version:
iOS 12.1.4 (16D57)
ownCloud app version:
ownCloud beta version 1.0 build 105 (https://github.com/owncloud/ios-app/tree/b19e57b2f67234460ae6dec8f9587d62ed34d2f0, built from branch)
Device model:
Model: iPhone XS Max
Server configuration
ownCloud version:
ownCloud server 10.1.0 with master-OAuth 2.0 (
40fe0ab
) on ownCloud server/cc @hodyroff
The text was updated successfully, but these errors were encountered: