Open Closed

Angular Login Button is not working on the front #1183


User avatar
0
qaniqani created

Hello, All the bugs of the project have been fixed, but the button does not work. Working in local but does not work on the server. Network monitoring on sockjs-node/websocket address the status code 101 is turning, this normal? Do you have any advice on the subject? Regards.

  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Steps to reproduce the issue:


2 Answer(s)
  • User Avatar
    1
    Mehmet created

    Hi

    Can you share the oAuthConfig in the environment file with us?

    Please try code below in the home page and check the console, network tab. If you see any error, please share that with us.

     import { OAuthService } from 'angular-oauth2-oidc';
     
    constructor(private oAuthService: OAuthService) {}
    
    ngOnInit() {
        this.oAuthService.initCodeFlow()
    }
    
  • User Avatar
    0
    qaniqani created

    Hello there,

    The problem is solved when SSL is defined for the domain.

    Regards.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11