authlib implements RFC7591 so one can built authorization servers with dynamic client registration. However it seems there is nothing implemented to actually register a client.
I suggest adding a parameters to BaseOAuth.register:
registration_url, that would expect a registration endpoint (https://auth.mydomain.tld/register) and that could be guessed from the server registration_endpoint metadata.
registration_token, that would be an optional token the server may expect to allow registration
authlib implements RFC7591 so one can built authorization servers with dynamic client registration. However it seems there is nothing implemented to actually register a client.
I suggest adding a parameters to
BaseOAuth.register
:registration_url
, that would expect a registration endpoint (https://auth.mydomain.tld/register
) and that could be guessed from the serverregistration_endpoint
metadata.registration_token
, that would be an optional token the server may expect to allow registrationThat way a dynamic registration could be achieved this way:
I suppose we should also think of the way to implement RFC7592 too.
What do you think? Do you have better implementation suggestions?