mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:13:31 +02:00
openid change /auth/verify to /auth/openid/verify
This commit is contained in:
committed by
Vishal Banthia
parent
87e5d80209
commit
68e29a01c2
@@ -16,7 +16,7 @@ module.exports = function(options) {
|
||||
"fullname" : true,
|
||||
})];
|
||||
var relyingParty = new openid.RelyingParty(
|
||||
urljoin(options.appUrl, "/auth/verify"),
|
||||
urljoin(options.appUrl, "/auth/openid/verify"),
|
||||
null, // Realm (optional, specifies realm for OpenID authentication)
|
||||
false, // Use stateless verification
|
||||
false, // Strict mode
|
||||
@@ -45,7 +45,7 @@ module.exports = function(options) {
|
||||
});
|
||||
})
|
||||
|
||||
app.get('/auth/verify', function(req, res){
|
||||
app.get('/auth/openid/verify', function(req, res){
|
||||
log.setLocalIdentifier(req.ip)
|
||||
|
||||
relyingParty.verifyAssertion(req, function(err, result){
|
||||
|
||||
Reference in New Issue
Block a user