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

Allow assertion endpoint to be specified using request parameter #22

Merged
merged 4 commits into from
Sep 16, 2019
Merged

Allow assertion endpoint to be specified using request parameter #22

merged 4 commits into from
Sep 16, 2019

Conversation

deskoh
Copy link
Contributor

@deskoh deskoh commented Sep 13, 2019

This PR allows assertion endpoint to be specified using the PartnerId request query parameter, similar to actual SPCP behaviour.

This allow a MockPass deployment to support testing of different IDP URLs simply by varying the PartnerId in the URL request query parameter, instead of changing environment variable.

Other improvements:

  • Added additional test accounts
  • Improved 'combobox' values for CorpPass credentials in login page in instead of [object Object].

Copy link
Collaborator

@LoneRifle LoneRifle left a comment

Choose a reason for hiding this comment

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

lgtm otherwise, pending suggested corrections

index.js Show resolved Hide resolved
lib/express/spcp.js Outdated Show resolved Hide resolved
@LoneRifle LoneRifle merged commit 1f461c3 into opengovsg:master Sep 16, 2019
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