• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tethysplatform / tethys / 902
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: dockerfile-fix
DEFAULT BRANCH: main
Ran 08 Jan 2021 11:14PM UTC
Jobs 1
Files 157
Run time 17s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
902

push

travis-ci

web-flow
Multi-Tenant SSO (#629)

* Creates new view to prompt user to provide tenant name during multi-tenant SSO flows.
The Tenant view has a single text field and is capable of saving the user's tenant in local storage if the browser supports the feature.

* Tests and linting done.

* Change label for Remember checkbox to something more generic.

* Add setting to override the regex used to validate the tenant field.

* Add social_auth URLs manually so we can provide a custom auth view.

* Move sso_tenant view from accounts.py to psa.py as tenant view.

* Implements full flow for multi-tenant authentication.
* Implements custom auth and complete views that check for multi-tenant conditions and add tenant to the backend for use looking up tenant-specific settings later on.
* Completes implementation of tenant view so that it calls do_auth when tenant info has been set on the backend.
* Adds SOCIAL_AUTH_FIELDS_STORED_IN_SESSION so that the tenant field of the tenant form will be saved in the session storage. The value is retrieved in complete view to load the tenant settings on callback.
* Adds MultiTenantMixin class to add to backends so they can support multi-tenant authentication.
* Adds backend "namespace" to local storage keys so that the tenant name that is saved for one backend isn't populated in the Tenant form for another backend.
* Have not tested disconnect flow, but likely needs work.
* Needs tests.

* Adds tests for MultiTenantMixin.

* Fix broken tests

* Adds tests for tenant view.

* Tests for custom psa auth and complete views.

* Add tests to verify MultiTenantMixin support on ADFS and OneLogin.

* Add mutli-tenant variations of supported backends.

* Fix broken tests and add tests for MultiTenant versions of azuread and okta.

* Remove console logs from sso_tenant.js

* Partial documentation complete for multi-tenant SSO support.

* Finished initial pass at documentation for multi-tenant support.

* ... (continued)

119 of 119 new or added lines in 9 files covered. (100.0%)

8441 of 8441 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 902.1 (CONDA_BUILD_PIN_LEVEL=minor) 08 Jan 2021 11:14PM UTC 0
100.0
Travis Job 902.1
Source Files on build 902
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #902
  • 1d3d98ec on github
  • Prev Build on master (#893)
  • Next Build on master (#905)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc