Identity Server 4 : Sorry, there was an error : unauthorized_client

Scott L picture Scott L · Sep 4, 2018 · Viewed 9.8k times · Source

I have set up identity server 4 to extent Umbraco so it uses a custom role provider.

Everything was working but now when I get redirected to my Identity server I get this error:

enter image description here

Can anybody shine some light on this error? I have tried rolling back my code in source control but nothing I do seems to help it. Is there anywhere I can see an error log?

Thanks, Scott

Answer

Scott L picture Scott L · Dec 12, 2018

I found out this was due to the RedirectUris being incorrect.

This error is thrown if there is anything wrong with the client.