Browse Source

Update the ID0112 and ID0166 messages to help debug invalid ASP.NET Core configurations

pull/1304/head
Kévin Chalet 5 years ago
parent
commit
1c407fff1e
  1. 4
      src/OpenIddict.Abstractions/OpenIddictResources.resx

4
src/OpenIddict.Abstractions/OpenIddictResources.resx

@ -500,7 +500,7 @@ Make sure that neither DefaultAuthenticateScheme, DefaultChallengeScheme, Defaul
This may indicate that the event handler responsible of processing OpenID Connect responses was not registered or was explicitly removed from the handlers list.</value>
</data>
<data name="ID0112" xml:space="preserve">
<value>An unknown error occurred while retrieving the OpenIddict server context.</value>
<value>An error occurred while retrieving the OpenIddict server context. On ASP.NET Core, this may indicate that the authentication middleware was not registered early enough in the request pipeline. Make sure that 'app.UseAuthentication()' is registered before 'app.UseAuthorization()' and 'app.UseEndpoints()' (or 'app.UseMvc()') and try again.</value>
</data>
<data name="ID0113" xml:space="preserve">
<value>An error occurred while authenticating the current request.</value>
@ -716,7 +716,7 @@ This may indicate that an instance of another handler was registered with the sa
Make sure that neither DefaultSignInScheme nor DefaultSignOutScheme point to an instance of the OpenIddict ASP.NET Core validation handler.</value>
</data>
<data name="ID0166" xml:space="preserve">
<value>An unknown error occurred while retrieving the OpenIddict validation context.</value>
<value>An error occurred while retrieving the OpenIddict validation context. On ASP.NET Core, this may indicate that the authentication middleware was not registered early enough in the request pipeline. Make sure that 'app.UseAuthentication()' is registered before 'app.UseAuthorization()' and 'app.UseEndpoints()' (or 'app.UseMvc()') and try again.</value>
</data>
<data name="ID0167" xml:space="preserve">
<value>Generic token validation is not supported by the validation handler.</value>

Loading…
Cancel
Save