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 multiple possible logins #3

Merged
merged 3 commits into from
Oct 24, 2018
Merged

Allow multiple possible logins #3

merged 3 commits into from
Oct 24, 2018

Conversation

LoneRifle
Copy link
Collaborator

@LoneRifle LoneRifle commented Oct 20, 2018

Lay groundwork for identity selection

  • Create identities object, holding identities for SingPass/CorpPass
  • Allow assertions to be rendered using either default or specified
    identities

Implement multiple logins

  • Inject the index of the mockpass identities into the saml artifact,
    appending it as a single byte at the end
  • Read this byte when receiving the artifact from the service provider;
    if this index corresponds to a mockpass identity, return that, else
    return the default one

Fixes #1

* Create identities object, holding identities for SingPass/CorpPass
* Allow assertions to be rendered using either default or specified
  identities
* Inject the index of the mockpass identities into the saml artifact,
  appending it as a single byte at the end
* Read this byte when receiving the artifact from the service provider;
  if this index corresponds to a mockpass identity, return that, else
  return the default one
@LoneRifle LoneRifle merged commit 2595b40 into master Oct 24, 2018
@LoneRifle LoneRifle deleted the login-page branch October 24, 2018 01:03
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.

1 participant