内部CAS服务器调用重定向地址(“ ^(http):// localhost:3000 / auth / cas / callback。*”)后收到错误。
@for $i from 0 through 100 {
.width-percentage-#{$i} {
width: #{$i}#{"%"} !important;
}
}
我使用OAuth2.0策略和授权代码盛大类型 来自CAS服务器的响应示例
TokenError
at OAuth2Strategy.parseErrorResponse (..\passport-oauth2\lib\strategy.js:329:12)
at OAuth2Strategy._createOAuthError (..\node_modules\passport-oauth2\lib\strategy.js:376:16)
at ..\node_modules\passport-oauth2\lib\strategy.js:166:45
at ..\node_modules\oauth\lib\oauth2.js:191:18
at passBackControl (..\node_modules\oauth\lib\oauth2.js:132:9)
at IncomingMessage.<anonymous> (..\node_modules\oauth\lib\oauth2.js:157:7)
at IncomingMessage.emit (events.js:202:15)
at endReadableNT (_stream_readable.js:1129:12)
at processTicksAndRejections (internal/process/next_tick.js:76:17)
用于处理来自CAS的回调的代码
http://localhost:3000/auth/cas/callback?code=OC-2-JPF80HgypgIsaI2dF3S-FLm7QtCXt2um
});