Click here to Skip to main content
15,867,990 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hello,

i use asp.net core for my app.

i have installed identity server 4
when i launch my API it work well,
but when i lauch my front end

i have this error

Sorry, there was an error : unauthorized_client
Invalid redirect_uri
Request Id: 800000da-0003-f300-b63f-84710c7967bb


What I have tried:

i have verified
RedirectUri = "http://localhost:5002/signin-oidc",
it's well

and this

PostLogoutRedirectUri = "http://localhost:5002/signout-callback-oidc",
is well too

how can you help me please , i can't test my code now

thanks you all
Posted
Updated 9-Feb-23 2:18am
Comments
Garth J Lancaster 26-May-20 7:56am    
well, we can't help you to fix what we can't see - we dont read minds/remote code ... why dont you modify your question (use 'Improve question') and post the RELEVANT code
F-ES Sitecore 26-May-20 7:59am    
Have you googled the error message and gone through the scenarios where this error can occur?
Member 13220552 26-May-20 8:12am    
yes i have googled this error they say , i can verify if RedirectUri and PostLogoutRedirectUri as not be modified .
i have done that , all are good

Try with HTTPS Was the problem in my case :-)
 
Share this answer
 
i have done update of all my module and VS, after that i have regenerate solution.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900