julian111 Posted January 18, 2023 Share Posted January 18, 2023 Hi all,I am trying to show a dashboard while passing the login parameters in the URL. The URL looks like:https://jasperserver/dashboard/viewer.html#/Ad_Hoc_Reports/Dashboards/Test &j_username=jasperadmin|domain&j_password=jasperadminBut it is always sending me back to the login screen without showing any error. When I login manually, the dashboards is loaded automatically after login.Any suggestions? I am Using JS Pro 8.1.Thank you! Link to comment Share on other sites More sharing options...
Anuja Vilas Bhujbal Posted January 23, 2023 Share Posted January 23, 2023 Hello Julian, As of JasperReports Server 6.1, you can use non-authentication parameters before or after the hash sign (#). However, if you place general parameters after the hash sign, then on Dashboard Viewer load, the parameters are moved before the hash sign and the page is redirected to the resulting URL. The authentication parameters j_username and j_password cannot be redirected; they must appear before the hash sign. Please refer section "Passing Dashboard Execution Parameters" from below Ultimate Guide for more details - https://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v80/repository-http-api 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