kevinl_5 Posted March 22, 2019 Share Posted March 22, 2019 Our JS is multi-tenant with SSO enabled. Our users can authenticate via SSO to login with an external user, or go directly to JS to login with their non-external jasper user.My current problem with JS, is that if a user tries to login via the UI with their jasper user, and then enter an org, username, and pw -- their login fails due to a missing org (even though it was sent in the request!).Snippet from logs below (the below user attempted to login via the UI. They input an org of testOrg, a username of testuser, and a password. The org is not being set, and I've confirmed it by looking at the audit tables).2019-03-22 18:02:20,609 WARN MTDaoAuthenticationProvider,http-nio-8080-exec-10:75 - User not found with username "testuser" in tenant Is anyone able to shed some light on a possible solution? Does jasper support oauth as well as basic login? Is it exclusive to one or the other? Link to comment Share on other sites More sharing options...
Solution kevinl_5 Posted March 22, 2019 Author Solution Share Posted March 22, 2019 After readinghttps://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v630/authentication#HTTP_BasicI updated the username to use the following format, and we can login again (testuser|testOrg). We will have our filter intercept the request an update it username. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now