I am using OAM 18.104.22.168. I'm setting up an OAuth integration. I have developed a plugin to add claims to an oauth token, specifically to return the groups that users have in an LDAP, as in this thread Mobile OAuth Services LDAP groups as claims.
The first doubt I have reading the documentation is how this plugin should be. Does it have to have the same structure as an authentication plugin? Is it uploaded, distributed and activated in the same way? In the information xml, what type should the plugin declare? I have tried this and the class does not appear in the Custom Token Attributes plugin configuration in the OAuth administration. Does anyone know if there is an example somewhere about this?