def _get_group_label(self, group, attr='label'):
        if attr is 'label':
            label = group.label
        else:
            label = group[attr]
            if isinstance(label, dict):
                label = tuple(label.values())

        return self._get_label(label)
Returns two-tuple of (user, token) if authentication succeeds,
dataset/ETHPy150Open bokeh/bokeh/bokeh/charts/builder.py/Builder._get_group_label--crossover with--dataset/ETHPy150Open PhilipGarnero/django-rest-framework-social-oauth2/rest_framework_social_oauth2/authentication.py/SocialAuthentication.authenticate