Error deploy to IIS on Server
ABP Framework version: v6.0.0
UI type: Angular
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): no
Exception message and stack trace:
2022-12-08 15:09:36.809 +07:00 [INF] Request starting HTTP/2 GET https://192.168.100.238:44345/connect/authorize?response_type=code&client_id=TestDep_Swagger&redirect_uri=https%3A%2F%2F192.168.100.238%3A44345%2Fswagger%2Foauth2-redirect.html&state=VGh1IERlYyAwOCAyMDIyIDE1OjA5OjM2IEdNVCswNzAwIChJbmRvY2hpbmEgVGltZSk%3D - - 2022-12-08 15:09:36.822 +07:00 [INF] The request address matched a server endpoint: "Authorization". 2022-12-08 15:09:36.850 +07:00 [INF] The authorization request was successfully extracted: { "response_type": "code", "client_id": "TestDep_Swagger", "redirect_uri": "https://192.168.100.238:44345/swagger/oauth2-redirect.html", "state": "VGh1IERlYyAwOCAyMDIyIDE1OjA5OjM2IEdNVCswNzAwIChJbmRvY2hpbmEgVGltZSk=" }. 2022-12-08 15:09:37.032 +07:00 [INF] Client validation failed because 'https://192.168.100.238:44345/swagger/oauth2-redirect.html' was not a valid redirect_uri for TestDep_Swagger. 2022-12-08 15:09:37.032 +07:00 [INF] The authorization request was rejected because the redirect_uri was invalid: 'https://192.168.100.238:44345/swagger/oauth2-redirect.html'. 2022-12-08 15:09:37.059 +07:00 [INF] Request finished HTTP/2 GET https://192.168.100.238:44345/connect/authorize?response_type=code&client_id=TestDep_Swagger&redirect_uri=https%3A%2F%2F192.168.100.238%3A44345%2Fswagger%2Foauth2-redirect.html&state=VGh1IERlYyAwOCAyMDIyIDE1OjA5OjM2IEdNVCswNzAwIChJbmRvY2hpbmEgVGltZSk%3D - - - 302 - - 250.5526ms 2022-12-08 15:09:37.063 +07:00 [INF] Request starting HTTP/2 GET https://192.168.100.238:44345/Error?httpStatusCode=400 - -
Steps to reproduce the issue:
-
- Run https://192.168.100.238:44345/swagger/index.html
-
- click Authorize
5 Answer(s)
-
0
because 'https://192.168.100.238:44345/swagger/oauth2-redirect.html' was not a valid redirect_uri for TestDep_Swagger.
Did you clear the Redis cache?
-
0
Can I disable Redis in application config file?
-
0
-
0
Hi Maliming. I get an error like https://support.abp.io/QA/Questions/3465/No-%27Access-Control-Allow-Origin%27-header-for-Angular-Application-after-input-login-details-and-click-login-with-Backend-Deployed-on-windows-server and you said "Problem resolved, The IIS server requires to access the domain name". How do I configure IIS?
-
0