| 1 |
Authentiq |
| 2 |
--------- |
| 3 |
|
| 4 |
Browse to https://www.authentiq.com/developers to get started. |
| 5 |
|
| 6 |
App registration |
| 7 |
https://dashboard.authentiq.com/ |
| 8 |
|
| 9 |
Sign in or register with your Authentiq ID (select ``Download the app`` while signing in if you don't have Authentiq ID yet). |
| 10 |
|
| 11 |
Development redirect URL |
| 12 |
http://localhost:8000/accounts/authentiq/login/callback/ |
| 13 |
|
| 14 |
While testing you can leave the ``Redirect URIs`` field empty in the dashboard. You can specify what identity details to request via the ``SCOPE`` parameter. |
| 15 |
|
| 16 |
.. code-block:: python |
| 17 |
|
| 18 |
SOCIALACCOUNT_PROVIDERS = { |
| 19 |
'authentiq': { |
| 20 |
'SCOPE': ['email', 'aq:name'] |
| 21 |
} |
| 22 |
} |
| 23 |
|
| 24 |
Valid scopes include: ``email``, ``phone``, ``address``, ``aq:name``, ``aq:location``. The default is to request a user's name, and email address if ``SOCIALACCOUNT_QUERY_EMAIL=True``. You can request and require a verified email address by setting ``SOCIALACCOUNT_EMAIL_VERIFICATION=True`` and ``SOCIALACCOUNT_EMAIL_REQUIRED=True``. |