Hi,
Is it possible to pass login and password on url or using a post method to auto login to LD?
Thanks
Auto Login
Moderator: car031
Post
Re: Auto Login
Hi said,
currently it is not possible, but I have a question 4 Y,
you need to work with the software GUI, or it's something you'd like to use with Web-services?
In the next release of LogicalDOC (LogicalDOC 7.5) we're working on, there will be significant innovations on the subject of web-services.
In fact there will be a whole new class of web-services REST who will implement the JAX-RS specification (2.0)
Alex
currently it is not possible, but I have a question 4 Y,
you need to work with the software GUI, or it's something you'd like to use with Web-services?
In the next release of LogicalDOC (LogicalDOC 7.5) we're working on, there will be significant innovations on the subject of web-services.
In fact there will be a whole new class of web-services REST who will implement the JAX-RS specification (2.0)
Alex
Post
Re: Auto Login
Hi,
i need to embed the GUI inside an iframe so that the user does not have to login
something like :
<iframe width="100%" height="600" src="http://127.0.0.1:8080/?user=admin&passw ... "></iframe>
Thanks
i need to embed the GUI inside an iframe so that the user does not have to login
something like :
<iframe width="100%" height="600" src="http://127.0.0.1:8080/?user=admin&passw ... "></iframe>
Thanks
Post
Re: Auto Login
Hi saidmsl,
currently this is not possible, maybe in the future with the next release 7.5
I don't know all the details, but perhaps that will be possible
Br
Alex
currently this is not possible, maybe in the future with the next release 7.5
I don't know all the details, but perhaps that will be possible
Br
Alex
Post
Re: Auto Login
Hi Said,
to tell the truth, there would be a way to open Logicaldoc in an iframe avoid passing from the login page.
To implement it is necessary to first perform an authentication via web-service, and then pass a parameter (sid) to the address of access
E.g.:
or (if your context is "/logicaldoc")
Br
Alex
to tell the truth, there would be a way to open Logicaldoc in an iframe avoid passing from the login page.
To implement it is necessary to first perform an authentication via web-service, and then pass a parameter (sid) to the address of access
E.g.:
Code: Select all
http://localhost:8080/?sid=4b787ad7-4b58-4bd6-b4a0-ba98a08852fc
Code: Select all
http://localhost:8080/logicaldoc/frontend.jsp?sid=4b787ad7-4b58-4bd6-b4a0-ba98a08852fc
Alex
Post
Re: Auto Login
got this error :
F14F81377E3366CD239B0AB9CF0EF64A.cache.html:6601
Uncaught TypeError: Cannot read property 'C' of undefined
and the window is frozen on Loading messages
F14F81377E3366CD239B0AB9CF0EF64A.cache.html:6601
Uncaught TypeError: Cannot read property 'C' of undefined
and the window is frozen on Loading messages
Post
Re: Auto Login
Of course you should substitute the value of the param sid with a valid sessionID value.
Other problem might be the browser you're using or the execution privileges on frames/iframes (I know that Internet Explorer has some of these settings)
Also do not forget to completely clear the cache of the browser
Other problem might be the browser you're using or the execution privileges on frames/iframes (I know that Internet Explorer has some of these settings)
Also do not forget to completely clear the cache of the browser
Post
Re: Auto Login
have tested on both mozilla firefox and google chrome (i'm not using IE)
of course i have used a valid sid and cleared the cache
still have the same error
opening the url on new page load the document well
is it possible to disable the cache.html?
of course i have used a valid sid and cleared the cache
still have the same error
opening the url on new page load the document well
is it possible to disable the cache.html?
Post
Re: Auto Login
I'm sorry, but I don't know how to solve this problem.
Try to add a new random parameter (myRandomPar):
Try to add a new random parameter (myRandomPar):
Code: Select all
http://localhost:8080/logicaldoc/frontend.jsp?sid=<sessionID>&myRandomPar=<timestamp>
Who is online
Users browsing this forum: No registered users and 53 guests