0
votes

does anybody know what is happand with password flow. It is work file last week, and today it is no. We got update form my-get for this library and add a few new columns (Permissions, Properties, Payload and ReferenceId ets.).

New we always got:

{
"error": "unauthorized_client",
"error_description": "This client application is not allowed to use the token endpoint."

}

We did not change anything in the test.

So any idea?

2

2 Answers

1
votes

Starting with RC2, applications must be granted permissions to be able to use endpoints or flows.

Detailed instructions to update your app are available here: https://openiddict.github.io/openiddict-documentation/guide/migration.html.

0
votes

Refer to official documentaion:

If you don't care about permissions (e.g because you don't have third-party clients), you can instead disable them:

 // Register the OpenIddict server handler.
.AddServer(options =>
{
    options.IgnoreEndpointPermissions()
           .IgnoreGrantTypePermissions()
           .IgnoreScopePermissions();
});

It fixed my problem.