Iphone Handle - Error 401 authentication required

Moderator: crythias

Post Reply
eturconi
Znuny newbie
Posts: 35
Joined: 27 Dec 2011, 15:18
Znuny Version: 3

Iphone Handle - Error 401 authentication required

Post by eturconi »

Hi guys,
i'm trying to get the iphone handle package working but by now without any success....:(
When i try to connect to <server>/<path>/json.pl I receive "error 401 Authoritation required" from the iphone app

I've otrs 3.1 installed on windows
authentication is based on active directory and single sign-on (perfectly working for web interface index.pl and customer.pl)

apache configuration
<Directory "C:/OTRS/OTRS/bin/cgi-bin/">
<Files index.pl>
Require valid-user
SSPIAuth On
SSPIAuthoritative On
SSPIDomain stf_nt01
SSPIUsernameCase lower
SSPIOfferBasic On
</Files>
<Files customer.pl>
Require valid-user
SSPIAuth On
SSPIAuthoritative On
SSPIDomain stf_nt01
SSPIUsernameCase lower
SSPIOfferBasic On
</Files>
<Files json.pl>
Require valid-user
SSPIAuth On
SSPIAuthoritative On
SSPIDomain stf_nt01
SSPIUsernameCase lower
SSPIOfferBasic On
</Files>

Could anyone help me on fixing this issue? I would use the same authentication method I've already implemented and perfectly running (AD+ SSO)

Thanks everybody in advance
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Iphone Handle - Error 401 authentication required

Post by jojo »

as the iphone is not in the domain, SSO is not possible (and also not supported by the app). so you need to configure an alternate URL without SSO
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
eturconi
Znuny newbie
Posts: 35
Joined: 27 Dec 2011, 15:18
Znuny Version: 3

Re: Iphone Handle - Error 401 authentication required

Post by eturconi »

Thanks for the tip.
Could you please show me how to do or where to find info on what to do and how?
Regards
Emanuele
waikiki83
Znuny newbie
Posts: 28
Joined: 25 Jul 2011, 09:15
Znuny Version: 3.0.9

Re: Iphone Handle - Error 401 authentication required

Post by waikiki83 »

im having the same issue and I also have sso.
can you help me as well?
OTRS 3.3.1 Windows Server 2008, Apache, MS SQL Server 2008
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Iphone Handle - Error 401 authentication required

Post by jojo »

as the iphone is not in the domain, SSO is not possible (and also not supported by the app). so you need to configure an alternate URL without SSO
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
waikiki83
Znuny newbie
Posts: 28
Joined: 25 Jul 2011, 09:15
Znuny Version: 3.0.9

Re: Iphone Handle - Error 401 authentication required

Post by waikiki83 »

hi jojo thanks for the quick response can you show us how to create an alternate URL?
does this mean we need another frontend where SSO is not configured?

please enlighten us.

thanks :)
OTRS 3.3.1 Windows Server 2008, Apache, MS SQL Server 2008
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Iphone Handle - Error 401 authentication required

Post by jojo »

yes, you need an alternate URL without SSO in your apache config
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Post Reply