Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

HTTP Only - angular #11810


User avatar
0
ESTeam created

Hi,

I was following the tutorial "How to enable HttpOnly cookies in ASP.NET Zero Angular" but in the last step if I delete these lines as instructed in the tutorial, I get an error in the code. Can you confirm what you're actually supposed to do here?

https://github.com/aspnetzero/documents/blob/4dd4d4b159f58693bea04ed54b90cf4599ee7528/blog-posts/en/angular-http-only-cookie.md

If i delete the green lines it gives an error in the token variable and the refreshTokenObservable


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ESTeam

    We have replied to your email. Currently, you can comment out all the lines in this method except the first and last lines. This blog post is still in review and will be published soon.