{% extends "misago/admin/conf/form.html" %} {% load i18n misago_admin_form %} {% block form-body %}
{% blocktrans trimmed context "admin oauth2 settings form" %} Path to value is a key under which it can be found in the JSON with user data returned by the provider. If this key is nested under other key, use full path and separate keys with periods ("."). {% endblocktrans %}
.
{% trans "For example, for given JSON with user data:" context "admin oauth2 settings form" %}
{ "id": "380422", "name": "Bob", "email": "bob@example.com", "picture": { "url": "http://exmaple.com/users/avatars/f7s6a8d68sa68sa.jpg" } }
{% blocktrans trimmed context "admin oauth2 settings form" %} Those paths should be used: {% endblocktrans %}
id
name
email
picture.url