Open Closed

login doesnt work when published #1167


User avatar
0
RonaldR created
  • ABP Framework version: v4.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:
  • When i run in visual studio i am able to log in. when i publish, the login spins and the login page is returned, it is not logging me in. there is no error messge, no errors in the log. i am running on windows in iis. i did install the .net 5 hosting runtime. i doubt it is .net environment, the site is comig up, and i can set the tenant, so it is running and hitting the database. in the app settings i changed the self and the authority to localhost, sine it is using the port 80 website. below find the log file but i do not see any clue a to why it is not working: I could not paste th log here, it is too long, here is a dropbox link to it https://www.dropbox.com/s/twbg1rzu54qp1h3/logs.txt?dl=0

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    2021-04-10 15:46:39.344 -05:00 [WRN] The cookie 'idsrv.session' has set 'SameSite=None' and must also set 'Secure'. 2021-04-10 15:46:39.360 -05:00 [WRN] The cookie '.AspNetCore.Identity.Application' has set 'SameSite=None' and must also set 'Secure'.

    hi

    Please refer to https://community.abp.io/articles/patch-for-chrome-login-issue-identityserver4-samesite-cookie-problem-weypwp3n

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11