Open Closed

angular 4.3 login button not working #1905


User avatar
0
zhangxd1222 created
  • ABP Framework version: v4.3.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

hi: the project runs correctly on localhost but publish to iis

login button not working

port:8008 : Host 8088 : angular

  1. table config SELECT * FROM identityserverclientcorsorigins SELECT * FROM identityserverclientpostlogoutredirecturis SELECT * FROM identityserverclientredirecturis

  2. environment.prod.ts config

3.appsetting.json config

Looking forward to your help,thanks!


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

    hi

    Can you try to use HTTPS for your app and Angular?

  • User Avatar
    0
    zhangxd1222 created

    hi

    Can you try to use HTTPS for your app and Angular?

    https: the same problem, so I want to know if there is a problem with the above configuration and http, I succeeded on another project

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Can you share your app URL? liming.ma@volosoft.com

  • User Avatar
    0
    Mehmet created

    Hi,

    Can you try adding requireHttps: false to oAuthConfig property of the environment?

  • User Avatar
    0
    zhangxd1222 created

    Hi,

    Can you try adding requireHttps: false to oAuthConfig property of the environment?

    this worked for me, thank you very much!

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