logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
sanyami  
#1 Posted : Friday, March 16, 2018 5:50:11 AM(UTC)
sanyami

Rank: Newbie

Groups: Registered
Joined: 11/20/2017(UTC)
Posts: 11
India

Thanks: 1 times
I published seal report site on https://demo.domain.com and then I open it in my iframe.
but all user can access https://demo.domain.com but I don't want to access it for all users only my application users can access this site.
How to authenticate seal report?
Please give me any solution.
Any other best way to integrate seal report in my application.
Also, I have web report server license.
epf  
#2 Posted : Friday, March 16, 2018 6:42:46 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
Difficult to say, we have no experience with such a configuration,
perhaps you should use the custom script of the security provider chosen (Server Manager -> Configure Web Security, then edit he Custom Security Script where you can do what you want (e.g. testing the IP of the request or using extra info. in the URL...).
sanyami  
#3 Posted : Friday, March 16, 2018 8:09:34 AM(UTC)
sanyami

Rank: Newbie

Groups: Registered
Joined: 11/20/2017(UTC)
Posts: 11
India

Thanks: 1 times
Thanks for your help. It's helpful to me.
I have one question.
I set Username and Password for seal report.
I set seal report in an iframe in my application so its ask me username and password and when I open seal report directly from Url its ask username and password that is fine.
There is anyway when I open seal report on my website they don't ask for username and password only ask when I open it from Url.

Edited by user Friday, March 16, 2018 8:33:37 AM(UTC)  | Reason: Not specified

sanyami  
#4 Posted : Friday, March 16, 2018 11:22:35 AM(UTC)
sanyami

Rank: Newbie

Groups: Registered
Joined: 11/20/2017(UTC)
Posts: 11
India

Thanks: 1 times
I'm using https://sealreport.org/demo/WebInterfaceAPI.html for only SWILogin in my application.
When I pass username and password to log in then "GET https://demo.domain.com/...utoDetectCookieSupport=1 404 ()" error comes.

My code:
$.post("https://demo.domain.com/SWILogin", {
user: "name", // The user name
password: "password" // The password
})
.done(function (data) {
if (!data.error) { /* Do your job here */ }
})

How to resolved it?

epf  
#5 Posted : Friday, March 16, 2018 1:27:33 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
What is the error ?
you can check the logs at Seal Report Server side, you can look at the Event Viewer.
if you want more trace at seal server side, the is flag <Debug> in the web.config you can set to true.

if it is on your browser side, use the developer 's mode of your browser (F12) to see what is going on....
sanyami  
#6 Posted : Friday, March 16, 2018 1:39:43 PM(UTC)
sanyami

Rank: Newbie

Groups: Registered
Joined: 11/20/2017(UTC)
Posts: 11
India

Thanks: 1 times
browser consol error: "GET https://demo.domain.com/...utoDetectCookieSupport=1 404 ()"
epf  
#7 Posted : Monday, March 19, 2018 6:43:35 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
well, we can see in your URL that the ASP.Net Session ID is passed in the URL (this is the case when the browser does not support cookies...)
perhaps you should try first from a browser supporting cookies and make it works.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.