-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting SEC_E_LOGON_DENIED error #104
Comments
You are using Kerberos. Sometimes, a delay is required before your credentials are synchronized between your windows account session and the Active Directory. May be a logout/login would refresh your credentials ? |
Can you also test the node website without the reverse proxy. Because may be your reverse proxy do not send the right HTTP header to the node webserver. |
Everything works fine when connected directly without the IIS reverse proxy. My reverse proxy configuration is:
Any advise what can it be ? Thanks |
The reverse proxy should be configured to pass the authorization http
header to the node sever.
…On Sunday, August 1, 2021, DanBrk ***@***.***> wrote:
Can you also test the node website without the reverse proxy. Because may
be your reverse proxy do not send the right HTTP header to the node
webserver.
Everything works fine when connected directly without the IIS reverse
proxy. Any advise what can it be ?
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#104 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVV6TTH4GVILHHJ5PTR6MLT2WCYLANCNFSM5BGQC2BQ>
.
--
Envoyé avec Gmail Mobile
|
The Authorization header exist and it looks fine.
When not behind reverse proxy the only difference is that I get 'SEC_E_OK':
} |
I am using node-expose-sspi: "0.1.59" with NodeJs version 12.21
The machine is Windows Server 2016 and it is part of Active Directory domain.
My application which includes node-expose-sspi runs with node.exe and it is behind IIS reverse proxy site.
The IIS site is configured with 'Windows Authentication' (In the sites's authentication settings)
The SSO client is sends command with Negotiate header to the IIS. From the IIS logs I can see that the context user is correct. In my case '[email protected]'
The following line include the IIS logs and you can see that the user '[email protected]' is successfully authenticated by the IIS:
2021-07-28 06:20:27 172.16.3.118 GET /service/user/ X-ARR-CACHE-HIT=0&X-ARR-LOG-ID=71bdc519-e623-4dea-ac7a-45d854512e72&SERVER-STATUS=400 9711 [email protected] 212.143.74.254 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/92.0.4515.107+Safari/537.36+Edg/92.0.902.55 https://saml-tst.storenext.co.il/purple-land/ 400 0 0 0
node-expose-sspi in my node application throws:
UnauthorizedError: SEC_E_LOGON_DENIED. (incorrect login/password, or account disabled, or locked, etc.). Protocol Message = Kerberos_1.
Is there a way to see 'node-expose-sspi' debug info from my server console ?
What can cause that error and how can I make it work ?
The text was updated successfully, but these errors were encountered: