Iphone Handle - Error 401 authentication required

Moderator: crythias

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

Iphone Handle - Error 401 authentication required

Post by eturconi » 09 Nov 2012, 18:37

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
Moderator
Posts: 14611
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: Iphone Handle - Error 401 authentication required

Post by jojo » 09 Nov 2012, 21:29

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™ 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 :: Share your ideas

eturconi
OTRS newbie
Posts: 35
Joined: 27 Dec 2011, 15:18
OTRS Version?: 3

Re: Iphone Handle - Error 401 authentication required

Post by eturconi » 13 Nov 2012, 11:38

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
OTRS newbie
Posts: 28
Joined: 25 Jul 2011, 09:15
OTRS Version?: 3.0.9

Re: Iphone Handle - Error 401 authentication required

Post by waikiki83 » 05 Dec 2012, 10:02

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
Moderator
Posts: 14611
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: Iphone Handle - Error 401 authentication required

Post by jojo » 05 Dec 2012, 10:15

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™ 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 :: Share your ideas

waikiki83
OTRS newbie
Posts: 28
Joined: 25 Jul 2011, 09:15
OTRS Version?: 3.0.9

Re: Iphone Handle - Error 401 authentication required

Post by waikiki83 » 05 Dec 2012, 10:37

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
Moderator
Posts: 14611
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: Iphone Handle - Error 401 authentication required

Post by jojo » 05 Dec 2012, 11:28

yes, you need an alternate URL without SSO in your apache config
"Production": 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 :: Share your ideas

Post Reply