Roles in Connector User Object
-
I've created a Generic Connector, based on the articles/posts below. I'm returning the basic user data (id, e-mail, active, etc). I'd like to include Roles as well for the user object, is this possible? If so, how? Thanks.
-
Yes, you can put anything in the
user
object that is documented here: https://fusionauth.io/docs/v1/tech/connectors/generic-connector/#using-the-generic-connectorYou can return
registrations
which containroles
as outlined in the sample JSON in the link above.Hope that helps!