02-08-2021 08:48 AM
Hello,
I would like to connect to my app with parameters in the url, so with the GET method
When i try this : http://mydomain.fr/share/page/dologin?username=username&password=password
They tell me that the GET method is not supported, so I wanted to know if it was possible to send GET requests and if so, how?
Thanks
02-09-2021 03:09 AM
The Share application is not meant at all for access / consumption by other applications. It is a user interface. Apart from completely replacing the core Controller implementation behind the dologin endpoint on a Java level, there is no way to turn the POST-only endpoint to supporting GET+ POST.
Not to mention that GET method is wholy inadequate for authentication purposes: any URL parameters (like user + password) are typically recorded in HTTP access logs.
Depending on your integration scenario, you may want to look at the APIs the underlying repository (ACS) provides, e.g. Public ReST API or CMIS.
Explore our Alfresco products with the links below. Use labels to filter content by product module.