Skip to content

Commit

Permalink
Implement support for user interface extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Feb 11, 2013
1 parent 8498386 commit 2bd806d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/passport-openid/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ function Strategy(options, verify) {
extensions.push(ax);
}

if (options.ui) {
// ui: { mode: 'popup', icon: true, lang: 'fr-FR' }
var ui = new openid.UserInterface(options.ui);
extensions.push(ui);
}

if (options.pape) {
var papeOptions = {};
if (options.pape.hasOwnProperty("maxAuthAge")) {
Expand Down

0 comments on commit 2bd806d

Please sign in to comment.