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

Concord SSO for Release #3293

Merged
merged 6 commits into from
Apr 14, 2020
Merged

Concord SSO for Release #3293

merged 6 commits into from
Apr 14, 2020

Conversation

rajadain
Copy link
Member

Overview

A copy of #3281 for releasing without the Custom Weather work, which is not ready to be launched.

Connects #3263
Copies #3281

Demo

To prove that the diffs of the two branches are identical:

❯ git diff 2678b4b2..a90bd34e > 3281.diff
❯ git diff release/1.28.0..tt/concord-sso-release > 3293.diff
❯ diff 3281.diff 3293.diff

Where 2678b4b and a90bd34 are the commits before and after #3281.

In preparation for adding a second Single Sign On provider, the
authentication backend and OAuth Service module are generalized
with parameters that can allow them to support multiple auth
providers.

The client use in the views is not changed, except for one key-
word argument.
Notify Rollbar on ITSI OAuth failures, convert number to string
before concatenation.
Unlike ITSI, the BASE_URL and CLIENT_KEY are the same in every
environment. The only secret is the SECRET_KEY, so that is the
only environment variable added.

The relevant secrets files have also been updated.
In preparation for adding a second Single Sign On provider, the
forms and routes in the front-end are updated to take parameters
for specific providers.

Also rename itsi_enabled to sso_enabled. This is mainly used to
hide ITSI from BiG-CZ portal. By overloading that to be a
universal flag for SSO, we also exclude BiG-CZ from being able
to use Concord logins. However, that is not a likely use case.
The two SSO options are moved side-by-side, with "Continue as
Guest" now taking a full row underneath them.
@rajadain rajadain added ITSI Portal NSF Funding Source: National Science Foundation labels Apr 14, 2020
@rajadain rajadain merged commit a897ece into release/1.28.0 Apr 14, 2020
@rajadain rajadain deleted the tt/concord-sso-release branch April 14, 2020 19:15
@rajadain rajadain mentioned this pull request Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ITSI Portal NSF Funding Source: National Science Foundation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant