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!

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00