Skip to content

[ENG-10238] Allow next_url to contain local url of Angular#11580

Merged
Ostap-Zherebetskyi merged 7 commits intoCenterForOpenScience:feature/osf4i-in-progress-ssofrom
ihorsokhanexoft:fix/ENG-10238
Feb 18, 2026
Merged

[ENG-10238] Allow next_url to contain local url of Angular#11580
Ostap-Zherebetskyi merged 7 commits intoCenterForOpenScience:feature/osf4i-in-progress-ssofrom
ihorsokhanexoft:fix/ENG-10238

Conversation

@ihorsokhanexoft
Copy link
Contributor

Ticket

https://openscience.atlassian.net/browse/ENG-10238?atlOrigin=eyJpIjoiZDQ2NTcwZmU1NjE5NGNlYmIyZGYzYWQ3MzQ3NzY0MGMiLCJwIjoiaiJ9

Purpose

CAS should redirect to the new UI locally

Changes

Updated next_url

@ihorsokhanexoft ihorsokhanexoft changed the title redirect to Angular after CAS auth [ENG-10238] Allow next_url to contain local url of Angular Feb 11, 2026
Copy link
Collaborator

@cslzchen cslzchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, let's create unit tests as well in addition to my comments.

from osf import features


LOCAL_ANGULAR_URL = 'localhost:4200'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may be present in settings, if not let's add it to defualts.py

Copy link
Collaborator

@cslzchen cslzchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition, re-target the PR to our feature branch.

Copy link
Collaborator

@Ostap-Zherebetskyi Ostap-Zherebetskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after comments are added and the target branch is changed.

@ihorsokhanexoft ihorsokhanexoft force-pushed the fix/ENG-10238 branch 2 times, most recently from a2a1343 to 78eabe7 Compare February 16, 2026 15:55
@ihorsokhanexoft ihorsokhanexoft changed the base branch from feature/pbs-26-2 to feature/osf4i-in-progress-sso February 16, 2026 15:59
Copy link
Collaborator

@Ostap-Zherebetskyi Ostap-Zherebetskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎆

@Ostap-Zherebetskyi Ostap-Zherebetskyi merged commit 7c7dab7 into CenterForOpenScience:feature/osf4i-in-progress-sso Feb 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments