Skip to content

IFMC-3161 append string argument to URL #8

Merged
merged 2 commits into from
Nov 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,15 @@ This bundles React in production mode and compresses all the files into a versio

The VERSIONS.txt file found in the root directory of this repo follows the Semantic Versioning system and should be updated accordingly whenever a new release is to be prepared.

Once the bundled artifact has been produced, it should be included as a binary attachment in a new GHE release corresponding to the appropriate commit complete with a version number tag matching that which is found in the VERSION.txt file.
Once the bundled artifact has been produced via
```sh
make build
```
it should be included as a binary attachment in a new GHE release corresponding to the appropriate commit complete with a version number tag matching that which is found in the VERSION.txt file.

The versioned release should then downloaded, decompressed, and put into the source directory within the IaC for wayfinder (currently `infrastructure-modules/wayfinder/src`).

The versioned release should then downloaded, decompressed, and put into the source directory within the IaC for wayfinder. At this point, applying the IaC changes will deploy the webapp.
At this point, applying the IaC changes will deploy the webapp.

## Other Available Commands

Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
1.0.2
4 changes: 2 additions & 2 deletions cypress/e2e/spec.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ context('SACDS', () => {
});

it('Displays copyright text', () => {
cy.contains('© Copyright 2020, InCommon, LLC').should('be.visible');
cy.contains('© Copyright 2024, InCommon, LLC').should('be.visible');
});


Expand Down Expand Up @@ -81,7 +81,7 @@ context('SACDS', () => {
cy.get('.sa-button').should(
'have.attr',
'href',
`https://service.seamlessaccess.org/ds/?entityID=${entityID}&return=${returnUrl}`
`https://service.seamlessaccess.org/ds/?entityID=${entityID}&return=${encodeURIComponent(returnUrl)}&trustProfile=incommon-wayfinder`
);
});
})
Expand Down
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function App() {
<p>You are accessing the following service: <strong>{displayName}</strong></p>
<div className="d-flex column align-items-center">
<p className="bottom-0">Select your home organization:</p>
<a href={`https://service.seamlessaccess.org/ds/?entityID=${encodeURIComponent(entityID)}&return=${encodeURIComponent(returnUrl)}`} className="d-flex sa-button">
<a href={`https://service.seamlessaccess.org/ds/?entityID=${encodeURIComponent(entityID)}&return=${encodeURIComponent(returnUrl)}&trustProfile=incommon-wayfinder`} className="d-flex sa-button">
<div className="sa-button-logo-wrap">
<img src="https://service.seamlessaccess.org/sa-white.svg" alt="Seamless Access Logo" className="sa-button-logo"/>
</div>
Expand Down