Not able to sign-in in github

Hello everyone,

I’ve been trying to analysis on code quality for my repositories. We followed the following steps for SonarQube Server(Developer Edition) Setup.

I’m currently facing an issue when trying to sign in with GitHub, and I could really use some help.

When I attempt to sign in, I receive the following error message:

"You're not authorized to access this page. Please contact the administrator.
Reason:'username' must be a member of at least one organization: 'https://github.com/organizations/company_name/'"

Is this issue might related to the callback URL configuration.

Has anyone encountered a similar issue, or does anyone have suggestions on how to resolve this? Any guidance or troubleshooting tips would be greatly appreciated.

Thank you in advance for your help!

Hi,

Welcome to the community!

It’s not clear to me what the problem is.

Are your users unable to authenticate? Is this a problem with analysis authenticating? (Because that failure message is not one that’s generated by SonarQube.)

 
Ann

Hi Ann,

Thanks for your comment. I have edited the postings. Is it clear now?

I followed the steps mentioned in this thread GitHub Authentication for users without organizations to install the GitHub app on my organization’s account. After the successful installation, I can see the list of my organization’s repositories in the SonarQube admin interface on Github project onboarding page.

However, I’m still encountering issues when trying to log in to SonarQube via GitHub. Despite having installed the GitHub app and granting the necessary permissions, I’m unable to authenticate my user via GitHub login.

Has anyone experienced a similar issue or can suggest a potential solution? I’m particularly interested in ensuring that individual users within the organization can log in via GitHub without further authentication problems.

Any help or guidance would be greatly appreciated!

HI,

What happens? What do you see? What, if anything, shows up in your server logs? (Probably web.log.)

 
Ann