Hello everyone,
we're trying to connect an application to OTRS; unfortunately, every time OTRS throws 401 error or, in Postman, shows a login page. I have admin access, I tried every combination in the url ("https://server/otrs/nph-genericinterfac ... /user/pass" - developer's syntax; "https://server/otrs/nph-genericinterfac ... sword=pass"; login data in the authorization tab), but I am still getting the damn login page. I'm very new to OTRS so I'm sure I'm missing something here.
Thanks!
Can't access OTRS webservice [SOLVED]
Moderator: crythias
Can't access OTRS webservice [SOLVED]
Last edited by valowl on 03 Jul 2020, 11:37, edited 1 time in total.
Re: Can't access OTRS webservice
Solved itself really quickly, I needed to add /:UserLogin/:Password to the route mapping in OTRS.
-
- Administrator
- Posts: 3963
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Can't access OTRS webservice
Why? Any specific reason for this? Please realize that your login data will by logged by default in the web server log.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Can't access OTRS webservice [SOLVED]
Because the app dev requires the ".../Webservice/user/password" syntax which I cannot change, that's why it didn't work in the app. In Postman it was more that I didn't realize that "nph-genericinterface.pl" wasn't a placeholder :')
- Xen
- Xen