Added functionality to receive the required scopes for the specified fields.