Prototyping a code to make it much easier for confoidential client webapps to deal with OAuth2 authorization code flows