Skip to content
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

Merged
merged 26 commits into from
Nov 8, 2017
Merged

OAuth2 #474

merged 26 commits into from
Nov 8, 2017

Conversation

jesmrec
Copy link
Contributor

@jesmrec jesmrec commented Aug 2, 2017

No description provided.

@SamuAlfageme SamuAlfageme self-assigned this Aug 9, 2017
@SamuAlfageme SamuAlfageme mentioned this pull request Aug 9, 2017
8 tasks
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.
Copy link
Contributor

@SamuAlfageme SamuAlfageme left a 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 | | |
Copy link
Contributor

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 | |
Copy link
Contributor

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants