Open
Description
The documentation recommends using authorization
grant type to register user. I tried this flow but in Authorization Handler it's default action is to authenticate client before authorizing which doesn't make sense see
However I found a workaround on line
there is the option to pass your ownauthenticateHandler
which returns a user and they have recently added this to the docs see https://oauth2-server.readthedocs.io/en/latest/api/oauth2-server.html?highlight=authenticateHandler
However further down in the authorization workflow it blocks any grant type which is not of authorization_type
see
We want to use password
or client_credentials
grant and authorize when the user registers, so not sure how authorize
should be used (note there are quite a few questions about this open here about authorization such as #494).