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 .well-known/openid-configuration.
http://www.hd-auth.cn:44318 is http://192.168.3.222:44318
How do I configure it?
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
2 Answer(s)
-
0
Hi @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, },Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)