diff --git a/source/_static/images/import_documentation/loader.gif b/source/_static/images/import_documentation/loader.gif new file mode 100644 index 0000000000000000000000000000000000000000..e9ddea32faa8adbace49a6708c9ad8f720534098 Binary files /dev/null and b/source/_static/images/import_documentation/loader.gif differ diff --git a/source/import_documentation/Components/Solid-Auth.rst b/source/import_documentation/Components/Solid-Auth.rst index 97ecffffbfb2e921d81db62d041babceb44b3250..d612a91447deb7f62a0a90a1d6d21cd00c21670a 100644 --- a/source/import_documentation/Components/Solid-Auth.rst +++ b/source/import_documentation/Components/Solid-Auth.rst @@ -28,6 +28,19 @@ Installation `You'll find here the detail of the attributes configuration. <https://github.com/IdentityModel/oidc-client-js/wiki#usermanager>`__ +Set an OIDC provider to your server +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The Django package associated is there => https://github.com/jblemee/django-oidc-provider +More documentation here => https://django-oidc-provider.readthedocs.io/en/latest/ + +Don't forget to set up your RSA key : + + .. code:: bash + + python3 ./manage.py creatersakey + + Set Up your loggin button ~~~~~~~~~~~~~~~~~~ diff --git a/source/import_documentation/Mixins/store-mixin.rst b/source/import_documentation/Mixins/store-mixin.rst index 6f9eda8a729a5facf63b236be5bfafb44015ee06..48668eb362663e83df51588a7880dee9c30155cd 100644 --- a/source/import_documentation/Mixins/store-mixin.rst +++ b/source/import_documentation/Mixins/store-mixin.rst @@ -59,6 +59,28 @@ Attributes ~~~~~~~~~~~~~ Id of the loader element you want to display during the loading time. + Exemple of use : + + .. code:: html + + <section> + <h1>Solid-form</h1> + <div id="form-loader" > + Loading… + </div> + <solid-form + data-src="https://api.startinblox.com/users/" + fields= "first_name, last_name, email" + label-first_name = "First name" + label-last_name = "Last name" + label-email = "Email" + loader-id = "form-loader"> + </solid-form> + </section> + + .. figure:: ../_static/images/import_documentation/loader.gif + :alt: Exemple of loader + Events ------