https://github.com/osquery/osquery logo
Title
d

Duong Tran

10/14/2022, 4:57 PM
Hello, I’m trying to set up SSO with Okta but receiving the following error. I also tried clicking on “Sign in with Okta” and it doesn’t take me anywhere.
I could authenticate through Okta successfully then it took me to this page.
k

Kathy Satterlee

10/14/2022, 5:34 PM
Hey @Duong Tran! Can you try opening your browser's JS console and logging in, then check the console and Network tabs for errors?
d

Duong Tran

10/14/2022, 5:39 PM
Hey @Kathy Satterlee I see a login error with a status code of 401
k

Kathy Satterlee

10/14/2022, 5:40 PM
Is there any additional information there?
A screenshot might be helpful as well.
z

zwass

10/14/2022, 9:39 PM
It would also be helpful to look at the Fleet server logs from when you attempt the login. There is likely more detail logged there. Note that Fleet intentionally doesn't provide very detailed error messages for authentication errors so that we don't accidentally disclose information that could help an attacker get into an instance.
d

Duong Tran

10/19/2022, 4:37 PM
Hey @Kathy Satterlee and @zwass, our Okta admin helped me figure out that the Issuer URI I input into Fleet was incorrect. Once the correct URI was entered, I could SSO into Fleet. Thanks for your help!
z

zwass

10/19/2022, 4:37 PM
Glad to hear it!