• ru
  • Language: en
  • Documentation version: 0.1

Udata

Datagouvfr OAuth2

Datagouvfr supports OAuth2 for their API. In order to set it up:

  • Go get your your API key (previous account creation is required).

  • Fill Consumer Key and Consumer Secret values in settings:

    SOCIAL_AUTH_DATAGOUVFR_KEY = ''
    SOCIAL_AUTH_DATAGOUVFR_SECRET = ''
    
  • Add 'social_core.backends.udata.DatagouvfrOAuth2' into your SOCIAL_AUTH_AUTHENTICATION_BACKENDS.