Hi There,
I'm running a tiered MVC, EF application and successfully started the AuthServer, HttpApi.Host and Web projects. I had to change the web port to 44364 as 44363 is in use by another process on my machine. I can logon to the AuthServer but see no user control auth settings, only my profile and the swagger and webApp links. When I access the webApp and click the login button, I get the following error:
error:invalid_request error_description:The specified 'redirect_uri' is not valid for this client application. error_uri:https://documentation.openiddict.com/errors/ID2043 culture:en ui-culture:en
My AuthServer appSettings file has the relevant redirect paths listed, with the adjusted port number. I updated the db table(OpenIddictApplications) with the port number as well in the ClientUri field. I also restarted the redis server afterwards. The webApp login redirect issue continues though. What else am I missing?
Thx M
6 Answer(s)
-
0
hi
. I also restarted the redis server afterwards.
Can you try to clear the data in Redis?
Please share the row data of your
OpenIddictApplication
Please share the logs.txt during this exception.liming.ma@volosoft.com Thanks
-
0
hi
. I also restarted the redis server afterwards.
Can you try to clear the data in Redis?
Please share the row data of your
OpenIddictApplication
Please share the logs.txt during this exception.liming.ma@volosoft.com Thanks
Hi - I ran a FLUSHALL command on Redis and still the same error. How do I upload files and where do I find the
OpenIddictApplication data and logs.txt file ?
-
0
hi
You can share the data with liming.ma@volosoft.com and https://wetransfer.com/
Thanks.
-
0
hi
The
Logs.txt
says:Client validation failed because 'https://localhost:44364/signin-oidc' was not a valid redirect_uri for LulaCreditAssessment_Web.
Make sure the LulaCreditAssessment_Web's
RedirectUris
contains thehttps://localhost:44364/signin-oidc
{ "client_id": "LulaCreditAssessment_Web", "redirect_uri": "https://localhost:44364/signin-oidc", "response_type": "code id_token", "scope": "openid profile roles email phone LulaCreditAssessment", "response_mode": "form_post", "nonce": "63879181284471l", "state": "CfDJ8KitIyzDz", "x-client-SKU": "ID_NET9_0", "x-client-ver": "8.3.0.0" }.
-
0
I updated this in the DB from 44360(what is this referencing?) to 44364 and the issue seems to be resolved. However, when the redirected page loads, no CRUD page is visible in the UI besides the Home page. I created a page via the Suite with the entity designer - I can the see the code and the page's cshtml but nothing in the menu listing.
-
0
hi
Please create a new question about your new case
Thanks.