hub-auth-login-failed: Log in failed

I get this error when I try to connect to github when I'm already logged into upsource and viewing a project.  The first time I clicked it, it prompted me to login and allow the github application, which succeeded, but ever since then, I just get this same generic error.

 

Not sure if it matters, but our organization in github uses okta as our authentication method.

 

 

1 comment

This appears to be related, but idunno how to grant access to listing emails.

 

11 May 2018 15:29:43,187 INFO  [LoginHandlerImpl              ] [qtp243947380-534    ] [11e4015a7a4ebb9&state=ssj0LnzF] Auth module GitHub: cannot authenticate

jetbrains.jetpass.auth.module.github.dnq.persistence.GithubAuthenticationException: Cannot get email of GitHub user: {"message":"Resource not accessible by integration","documentation_url":"https://developer.github.com/v3/users/emails/#list-email-addresses-for-a-user"}

at jetbrains.jetpass.auth.module.github.dnq.persistence.GithubAuthenticationException$Companion.cantGetEmail(GithubAuthenticationException.kt:31)

at jetbrains.jetpass.auth.module.github.dnq.persistence.GithubAPI.getEmail(GithubAPI.kt:111)

at jetbrains.jetpass.auth.module.github.dnq.persistence.GithubFederatedAuthenticationHandler.authenticate(GithubFederatedAuthenticationHandler.kt:88)

at jetbrains.jetpass.auth.module.github.dnq.persistence.GithubFederatedAuthenticationHandler.authenticate(GithubFederatedAuthenticationHandler.kt:19)

at jetbrains.jetpass.userManagement.persistence.dnq.module.XdAuthModule.castAuthenticate(XdAuthModule.kt:114)

at jetbrains.jetpass.userManagement.persistence.dnq.module.XdAuthModule.authenticate(XdAuthModule.kt:109)

at jetbrains.jetpass.dao.dnq.api.authority.login.LoginHandlerImpl.authenticate(LoginHandlerImpl.kt:96)

at jetbrains.jetpass.dao.dnq.api.authority.login.LoginHandlerImpl.access$authenticate(LoginHandlerImpl.kt:40)

at jetbrains.jetpass.dao.dnq.api.authority.login.LoginHandlerImpl$login$1.invoke(LoginHandlerImpl.kt:65)

at jetbrains.jetpass.dao.dnq.api.authority.login.LoginHandlerImpl$login$1.invoke(LoginHandlerImpl.kt:40)

at com.jetbrains.teamsys.dnq.database.TransientEntityStoreExt.transactional(TransientEntityStoreExt.kt:43)

at com.jetbrains.teamsys.dnq.database.TransientEntityStoreImpl.transactional(TransientEntityStoreImpl.kt:95)

at jetbrains.jetpass.dnq.TransactionKt.legacyTransactional(Transaction.kt:20)

at jetbrains.jetpass.dnq.TransactionKt.legacyTransactional$default(Transaction.kt:14)

at jetbrains.jetpass.dao.dnq.api.authority.login.LoginHandlerImpl.login(LoginHandlerImpl.kt:55)

at jetbrains.jetpass.dao.dnq.api.authority.module.JetPassAuthModuleDAO$login$1$1.invoke(JetPassAuthModuleDAO.kt:130)

at jetbrains.jetpass.dao.dnq.api.authority.module.JetPassAuthModuleDAO$login$1$1.invoke(JetPassAuthModuleDAO.kt:33)

at com.jetbrains.teamsys.dnq.database.TransientEntityStoreExt.transactional(TransientEntityStoreExt.kt:43)

...

0

Please sign in to leave a comment.