seitime-frappe/frappe/docs/user/en/guides/app-development
Revant Nandgaonkar 02aa7b6f41 Social login refactor (#4519)
* Added DocType Social Login Key

WIP for https://github.com/frappe/frappe/issues/4496
added basic fields
after_insert add provider_username and provider_userid fields on User dt
on_trash deletes added fields on User dt

* Added field to store fontawesome icon for provider

* [Patch] Social Login Keys to Social Login Key

* [Patch] Social Login Keys to Social Login Key

* Social Login Key generates boilerplate

* patch fixed for social_login_refactor

* removed patch-not working

* use social login keys to initiate flow

* Login page shows Social Login Key

* show login via if base_url present

* removed boilerplate generator

* Multiple Changes

fix zxcvbn import in password_strength.py
use of child table instead of additional fields on user dt to store username and userid

* Fetched Template on Client JS

* Frappe social login template working

* Added Social Login Key Templates

* Codacy fixes and validate social login key urls

* [Patch] Social Login Keys (untested)

* [Fix] Patch refactor social login keys

* [Fix] Patch refactor_social_login_keys manually tested

* Refactor OAuth 2.0 related changes for Social Login Key

* [Fix] Patch refactor social login keys

* Test - Adding Frappe Social Login Key

* Social Login Key Tests

check added child table entry on user for provider frappe
it also checks if userid is created

* [WIP] Office 365 Social Login Key Template

* [Fix] Social Login - Redirect URL

* [Test] Single sign-on icons for added provider

* [Fix] Codacy Errors

* [Fix] Social Login Key Form JS

* Docs Added for Social Login Key

* [Fix] Patch Refactor Social Login Keys

* Handle different icon types

Handle different icon types (image, icon, emoji) with just icon field

* Move the login methods to a new py file

frappe.integrations.oauth2_logins added
copied whitelisted guest oauth2 redirect endpoints from login.py
removing the functions from login.py will break backward compatibility

* Social Login Key Form Changes

Moved Enable field to top
Fields which are not editable are collapsed

* [Fix] Codacy Errors

* Corrected Docs, sync.py

* [Docs] Adding a social login provider

* [Fix] set frappe userid from User Social Login

* [Fix] frappe userid in oauth.py

* removed icon_type

* Use frappe.utils.is_image
2018-01-03 14:57:16 +05:30
..
__init__.py [website] fixes for generating docs 2016-06-23 18:22:03 +05:30
adding-custom-button-to-form.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:19 +05:30
adding-module-icons-on-desktop.md [docs] add headings 2017-07-31 16:21:13 +05:30
adding-social-login-provider.md Social login refactor (#4519) 2018-01-03 14:57:16 +05:30
custom-module-icon.md [docs] simplified docs home 2017-07-31 17:39:44 +05:30
dialogs-types.md edit documentation and add correct image url (#4116) 2017-09-14 11:04:40 +05:30
executing-code-on-doctype-events.md [docs] add headings 2017-07-31 16:21:13 +05:30
exporting-customizations.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:19 +05:30
fetch-custom-field-value-from-master-to-all-related-transactions.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:19 +05:30
generating-docs.md [docs] simplified docs home 2017-07-31 17:39:44 +05:30
how-enable-developer-mode-in-frappe.md Updated docs - add notice about needing to be logged in as Administrator to view developer options. (#4651) 2017-12-18 17:44:32 +05:30
how-to-create-custom-fields-during-app-installation.md [docs] simplified docs home 2017-07-31 17:39:44 +05:30
how-to-improve-a-standard-control.md [docs] add headings 2017-07-31 16:21:13 +05:30
index.md add en pages with corrects links 2016-02-29 21:41:34 +01:00
index.txt Social login refactor (#4519) 2018-01-03 14:57:16 +05:30
insert-a-document-via-api.md [docs] add headings 2017-07-31 16:21:13 +05:30
overriding-link-query-by-custom-script.md [docs] add headings 2017-07-31 16:21:13 +05:30
running-background-jobs.md [docs] simplified docs home 2017-07-31 17:39:44 +05:30
single-type-doctype.md [docs] simplified docs home 2017-07-31 17:39:44 +05:30
trigger-event-on-deletion-of-grid-row.md [docs] add headings 2017-07-31 16:21:13 +05:30
using-html-templates-in-javascript.md [docs] simplified docs home 2017-07-31 17:39:44 +05:30