0
    
    
        
                    gexiaoxu created
                    
                    
                    
                
                - ABP Framework version: v3.1.0
- UI type: Angular
how to config oAuthConfig in angular?
The normal configuration is as follows:

I modified the configuration node issuer.

When issuer is not localhost,Clicking the login button does not respond.I can't jump to the login page.
 And no address is requested
And no address is requested .well-known/openid-configuration.
http://www.hd-auth.cn:44318 is http://192.168.3.222:44318
How do I configure it?
2 Answer(s)
- 
    0Hi @gexiaoxu You can add requireHttps: falseproperty to theoAuthConfigobject but if your backend running on HTTP, you can not use the authorization code flow. Please try adding therequireHttpsproperty, let me know if the code flow is working.If it doesn't work, update the oAuthConfigas shown below:oAuthConfig: { issuer: 'http://www.hd-auth.cn:44318', clientId: 'AuthServer_App', dummyClientSecret: 'place client secret here', scope: 'AuthServer', requireHttps: false, },
- 
    0yes, you are right! thanks! just add requireHttpsproperty and it works
 
                                