mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
openid change /auth/verify to /auth/openid/verify
This commit is contained in:
parent
87e5d80209
commit
68e29a01c2
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ module.exports = function(options) {
|
||||||
"fullname" : true,
|
"fullname" : true,
|
||||||
})];
|
})];
|
||||||
var relyingParty = new openid.RelyingParty(
|
var relyingParty = new openid.RelyingParty(
|
||||||
urljoin(options.appUrl, "/auth/verify"),
|
urljoin(options.appUrl, "/auth/openid/verify"),
|
||||||
null, // Realm (optional, specifies realm for OpenID authentication)
|
null, // Realm (optional, specifies realm for OpenID authentication)
|
||||||
false, // Use stateless verification
|
false, // Use stateless verification
|
||||||
false, // Strict mode
|
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)
|
log.setLocalIdentifier(req.ip)
|
||||||
|
|
||||||
relyingParty.verifyAssertion(req, function(err, result){
|
relyingParty.verifyAssertion(req, function(err, result){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue