-
Notifications
You must be signed in to change notification settings - Fork 14
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
OAuth2 #474
OAuth2 #474
Conversation
Basically, it introduces 3 new test-cases: - Switching the URL after connection, - OAuth2 multi-tenancy installations ... And modifies one: 'Basic Auth. multi-tenancy setup' [Regression]. It also adds a couple of missing col.delimiters on the tables.
It includes status of all TC executed so far.
See owncloud/oauth2#47 for reference
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.
Maybe it's also important to include a couple of 'account editing' test cases to verify tokens get overwritten by the new ones after e.g. a password change
| 2 | OAuth2 URL http | 1. Set an URL of a http server with OAuth2<br>2. Tap on connect.<br> Check both orientations | Redirected to webview. No more options shown | | | | ||
| 3 | OAuth2 URL https trusted | 1. Set an URL of a https trusted server with OAuth2<br>2. Tap on connect.<br> Check both orientations | Redirected to webview. No more options shown | | | | ||
| 4 | OAuth2 URL https non-trusted | 1. Set an URL of a https non-trusted server with OAuth2<br>2. Tap on connect.<br> Check both orientations | Redirected to webview. No more options shown | | | | ||
| 5 | Basic Auth http URL | 1. Set an URL of a http server without OAuth2<br>2. Tap on connect.<br>Check both orientations | Fields username and password are shown | | | |
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.
@jesmrec missing a couple of 'Edit the URL after clicking on connection to check for the switch on the auth. method' for both methods. e.g.:
- After tapping on connect, on basic auth. change the URL to point an OAuth-supporting server.
- Closing the OAuth2 webview and editing the URL to point a server not supporting OAuth.
Will add them.
| 5 | Basic Auth http URL | 1. Set an URL of a http server without OAuth2<br>2. Tap on connect.<br>Check both orientations | Fields username and password are shown | | | | ||
| 6 | Basic Auth https trusted URL | 1. Set an URL of a https trusted server without OAuth2<br>2. Tap on connect.<br>Check both orientations | Fields username and password are shown | | | | ||
| 7 | Basic Auth https non-trusted URL | 1. Set an URL of a https non-trusted server without OAuth2<br>2. Tap on connect.<br>Check both orientations | Fields username and password are shown | | | | ||
| 8 | Redirected URL | 1. Set a redirection URL <br>2. Tap on connect. <br>Check both orientations | Fields username and password are shown | | |
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.
We're missing a multi-tenancy setup like the one in https://github.com/owncloud/administration/tree/master/redirectServer for an OAuth instance, I will try to reproduce one and add a new TC.
This one will be adapted to 'Redirected URL on Basic Auth. server'
… .apk with fixes.
No description provided.