Github的Jenkins身份验证不起作用

时间:2019-12-13 10:33:45

标签: jenkins jenkins-github-plugin

我正在使用Jenkins 2.190.3。当我尝试将身份验证与     GitHub OAuth插件版本0.33。当我尝试配置相同的内容时,出现如下错误  error log snippet

java.lang.ClassCastException: org.acegisecurity.providers.anonymous.AnonymousAuthenticationToken cannot be cast to org.jenkinsci.plugins.GithubAuthenticationToken
    at org.jenkinsci.plugins.GithubSecurityRealm.loadGroupByGroupname(GithubSecurityRealm.java:784)
    at org.jenkinsci.plugins.matrixauth.AuthorizationContainerDescriptor.doCheckName_(AuthorizationContainerDescriptor.java:169)
    at hudson.security.GlobalMatrixAuthorizationStrategy$DescriptorImpl.doCheckName(GlobalMatrixAuthorizationStrategy.java:222)
    at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)

我在这里想念的东西。

0 个答案:

没有答案