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

Be capable to add more attributes for profile exchange #24

Open
shawnzhu opened this issue Apr 8, 2014 · 0 comments
Open

Be capable to add more attributes for profile exchange #24

shawnzhu opened this issue Apr 8, 2014 · 0 comments

Comments

@shawnzhu
Copy link

shawnzhu commented Apr 8, 2014

It only allows 4 required attributes for attribute change:

  • name
  • email
  • first name
  • last name

It should support adding more attributes. for example:

passport.use(new OpenIDStrategy({
  returnURL: 'http://www.example.com/auth/openid/return',
  realm: 'http://www.example.com/',
  profile: true,
  attributes: {"http://openid.net/schema/person/guid": "required"}
},
function(identifier, profile, done) {
  // ...
}

));

shawnzhu pushed a commit to shawnzhu/passport-openid that referenced this issue Apr 8, 2014
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