A common feature request I hear from people using Wordpress with Micropub apps all the time is they want certain apps posts to appear in certain wordpress categories by default. For example, all posts from OwnYourGram should be added to the "Photos" category, all posts from OwnYourSwarm should be added to the "Checkins" category, but posts from Quill or Micro.blog should be "Uncategorized" or set to "Microblog". With the built-in authorization server, there is a great opportunity to have the wordpress plugin handle this now. It will take coordination with the Micropub plugin as well.
If the create
scope is requested, then the authorization screen can provide an additional field for the user to select the default category for posts created by that application.
When the token is generated, the category ID can be stored in the database along with how it stores the token scope and all the other token info. Then the Micropub plugin can look at the token and if there is a category ID in the token, use that when creating the post.
Saving the value from this select box will be easier once #24 is fixed.