Skip to content

fix pingone - #261

Merged
wolfeidau merged 5 commits into
Versent:masterfrom
muramasa64:fix/pingone
Jan 8, 2019
Merged

fix pingone#261
wolfeidau merged 5 commits into
Versent:masterfrom
muramasa64:fix/pingone

Conversation

@muramasa64

Copy link
Copy Markdown
Contributor

The PingOne Provider I implemented is broken.
I reimplemented PingOne Provider based on PingFed Provider.

The difference from PingFed Provider is as follows.

  • AuthnRequest can process.
  • It can handle SAML Request not sent to AWS.

Comment thread pkg/provider/pingone/pingone.go Outdated
type ctxKey string

// Authenticate Authenticate to PingOne and return the data from the body of the SAML assertion.
// Authenticate Authenticate to PingFed and return the data from the body of the SAML assertion.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

PingOne?

Comment thread pkg/provider/pingone/pingone.go Outdated

// Access to PingFederate
req, err := http.NewRequest("POST", authSubmitURL, strings.NewReader(authForm.Encode()))
// url := fmt.Sprintf("%s/idp/startSSO.ping?PartnerSpId=%s", loginDetails.URL, ac.idpAccount.AmazonWebservicesURN)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Delete commented lines.

@muramasa64

Copy link
Copy Markdown
Contributor Author

Thank you for your reviews. I fixed them.

@wolfeidau
wolfeidau merged commit 36d2ff5 into Versent:master Jan 8, 2019
@muramasa64
muramasa64 deleted the fix/pingone branch January 8, 2019 09:23
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.

2 participants