mirror of
https://github.com/openstf/stf
synced 2025-10-04 02:09:32 +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,
|
||||
})];
|
||||
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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue