4

I am implementing chat server on node js as integrating to my ASP.NET application.

My users are authenticated to ASP.NET application and authentication cookie is generated with machine key. Somehow I need to get this authentication cookie send to nodejs chat server and check if cookie is valid.

So far I tried this question but no progress. There is this answer for PHP developers.

Inside .net application it is as easy as this.

However, now I am trying to do in nodejs application with edgejs, running .net codes inside nodejs

How can I manually decrypt authentication cookie with .net (outside of that web application)?

5
  • 1
    Have you found any solution ? Commented Apr 27, 2016 at 15:34
  • @ChristopheGigax I answered a very similar question -- might be interesting for you. Commented Oct 15, 2016 at 23:40
  • Thanks ! I endend up by another way than decrypting the cookie. Commented Oct 17, 2016 at 6:43
  • @ChristopheGigax I would be interested to know what you did, would it be appropriate as an answer to this question or could you ask another question that covers it and then post the answer. Commented Sep 20, 2017 at 13:40
  • Not really an answer, but we used the Claim mechanism of ASP.NET Core Identity to pass data we needed. No decryption anymore. Commented Sep 24, 2017 at 13:18

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.