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

[wip/1.0] Use $this->openid->data or $_GET for raw data #5

Open
glen-84 opened this issue Oct 19, 2013 · 0 comments
Open

[wip/1.0] Use $this->openid->data or $_GET for raw data #5

glen-84 opened this issue Oct 19, 2013 · 0 comments

Comments

@glen-84
Copy link

glen-84 commented Oct 19, 2013

Certain OpenID providers, for example Steam, will not provide any attributes, so using $this->openid->getAttributes() will return an empty array, causing the response validation to fail (missing required parameter "raw").

I suggest using $this->openid->data or $_GET for raw data instead.

This will probably mean that the responseMap will change from (for example):

'info.email' => 'contact/email'

To:

'info.email' => 'openid_ext1_value_contact_email'

etc.

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

No branches or pull requests

1 participant