# SonarQube Okta Integration - You're Unauthorized To Access This Page

**URL:** <https://community.sonarsource.com/t/sonarqube-okta-integration-youre-unauthorized-to-access-this-page/66991>\
**Category:** SonarQube Server / Community Build\
**Tags:** saml, sso\
**Created:** [June 24, 2022, 8:03pm UTC](https://community.sonarsource.com/t/sonarqube-okta-integration-youre-unauthorized-to-access-this-page/66991 "2022-06-24T20:03:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![etaylork](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/etaylork/32/34358_2.png) [@etaylork](https://community.sonarsource.com/u/etaylork)\
**Post date:** [June 24, 2022, 8:03pm UTC](https://community.sonarsource.com/t/sonarqube-okta-integration-youre-unauthorized-to-access-this-page/66991/1 "2022-06-24T20:03:14Z")

</div>

SonarQube Enterprise Edition - version 9.3

Hello I am running into an issue when integrating our SonarQube’s instance with Okta. We were able to get SAML working so that when we go to the SonarQube login page I can login through SAML just fine. However, when I login to Okta and try to go to SonarQube from Okta I am seeing this error display:

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/4/3/438f4aef8d7aa47f6633b720565f35ed755a6cd6.jpeg)

In Okta we have the redirect url set to [https://sonarqube.mycompany.com/oauth2/callback/saml](https://sonarqube.mycompany.com/oauth2/callback/saml) following the guide on here: [SonarQube and SAML Authentication with Okta](https://community.sonarsource.com/t/sonarqube-and-saml-authentication-with-okta/25840)

Any suggestions on why I am getting this issue?

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [June 27, 2022, 2:50pm UTC](https://community.sonarsource.com/t/sonarqube-okta-integration-youre-unauthorized-to-access-this-page/66991/2 "2022-06-27T14:50:37Z")

</div>

Hi,

Does this seem relevant?

> [@SAML Okta Log in Issue "Not Authorized"](https://community.sonarsource.com/t/saml-okta-log-in-issue-not-authorized/63502):
>
> ALM used (Okta) SonarQube Version: 8.9.6.50800 Error observed: We are swapping from LDAP log in to SAML. Configured it per the guide (found at [SonarQube and SAML Authentication with Okta](https://community.sonarsource.com/t/sonarqube-and-saml-authentication-with-okta/25840)) and migrated existing users using the guide for that (found at [Migrating SonarQube Users Between Identity Providers (with a focus on LDAP → SAML)](https://community.sonarsource.com/t/migrating-sonarqube-users-between-identity-providers-with-a-focus-on-ldap-saml/48653)) and all appears to be well, mostly. When we click on the button in Okta, and it takes us to SonarQube to log us in, we get the error: “You’re not authorized to ac…

&nbsp;  
Ann
