Skip to content

Commit a9ee586

Browse files
authored
Merge pull request #25 from lsst/tickets/DM-29613
DM-29613: Replace outdated /oauth2 endpoints with /login, /logout
2 parents dd2e29f + 34f1a0f commit a9ee586

File tree

6 files changed

+18
-9
lines changed

6 files changed

+18
-9
lines changed

CHANGELOG.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@
22
Change log
33
##########
44

5+
2.1.1 (2021-04-07)
6+
==================
7+
8+
- **Uses Firefly release-2020.3.3** See the `Firefly release notes <https://github.com/Caltech-IPAC/firefly/blob/dev/docs/release-notes.md>`. Key LSST-relevant fix:
9+
10+
- Charts in "expanded mode" do not update after options changes
11+
[`FIREFLY-525 <https://jira.ipac.caltech.edu/browse/FIREFLY-525>`_]
12+
13+
- Changes URLs for interaction with the authentication to use Gafaelfawr ones.
14+
515
2.1.0 (2020-10-05)
616
==================
717

8-
- **Uses Firefly release-2020.3.0** See the `Firefly release notes <https://github.com/Caltech-IPAC/firefly/blob/dev/docs\
9-
/release-notes.md>`. Key LSST-relevant features:
18+
- **Uses Firefly release-2020.3.0** See the `Firefly release notes <https://github.com/Caltech-IPAC/firefly/blob/dev/docs/release-notes.md>`. Key LSST-relevant features:
1019

1120
- Bug fixes for Python-driven plotting and Slate
1221

config/app.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ pct.vis.shared.mem.size = 0.4
2828
download.bundle.maxbytes = 304857600
2929

3030
sso.server.url = "https://test.cilogon.org/"
31-
sso.login.url = "oauth2/start?rd=/portal/suit/"
32-
sso.logout.url = "/oauth2/sign_in"
31+
sso.login.url = "/login?rd=/portal/suit/"
32+
sso.logout.url = "/logout"
3333
sso.user.profile.url =
3434
__$help.base.url = "onlinehelp/"
3535

config/firefly_build.tag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rc-2020.3
1+
release-2020.3.3

config/k8s/suit-int.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ metadata:
109109
proxy_set_header X-Forwarded-Proto https;
110110
proxy_set_header X-Forwarded-Port 443;
111111
proxy_set_header X-Forwarded-Path /portal/app;
112-
error_page 403 = "https://lsst-lsp-int.ncsa.illinois.edu/oauth2/start?rd=$request_uri";
112+
error_page 403 = "https://lsst-lsp-int.ncsa.illinois.edu/login?rd=$request_uri";
113113
spec:
114114
tls:
115115
- hosts:

config/k8s/suit-stable.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ metadata:
109109
proxy_set_header X-Forwarded-Proto https;
110110
proxy_set_header X-Forwarded-Port 443;
111111
proxy_set_header X-Forwarded-Path /portal/app;
112-
error_page 403 = "https://lsst-lsp-stable.ncsa.illinois.edu/oauth2/start?rd=$request_uri";
112+
error_page 403 = "https://lsst-lsp-stable.ncsa.illinois.edu/login?rd=$request_uri";
113113
spec:
114114
tls:
115115
- hosts:

src/suit/java/edu/caltech/ipac/lsst/security/LsstSsoAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
*/
2626
public class LsstSsoAdapter implements SsoAdapter {
2727
private static Logger.LoggerImpl LOGGER = Logger.getLogger();
28-
private static String LOGIN_URL = AppProperties.getProperty("sso.login.url", "/oauth2/start?rd=/portal/suit/");
29-
private static String LOGOUT_URL = AppProperties.getProperty("sso.logout.url", "/oauth2/sign_in");
28+
private static String LOGIN_URL = AppProperties.getProperty("sso.login.url", "/login?rd=/portal/suit/");
29+
private static String LOGOUT_URL = AppProperties.getProperty("sso.logout.url", "/logout");
3030
private static String REQ_AUTH_HOSTS = AppProperties.getProperty("sso.req.auth.hosts", ".ncsa.illinois.edu");
3131

3232
private static final String ID_TOKEN = "X-Auth-Request-Token";

0 commit comments

Comments
 (0)