It returns True if an user is linked to an FC account, it allows any
FC user to login to its account as long as it still has control of the
FC email even if he has lost its FC credentials.
The following field is added to user's attributes if FC plugin is
enabled and the "full" parameter is given to the user's API:
"franceconnect": {
"linked": true,
"link_url": "https://idp/accounts/fc/callback/",
"unlink_url": "https://idp/accounts/fc/unlink/"
}
The registration frontend is used when the user is not logged locally
not with FC. The login template provide a link to the FC login view and
then to the plugin registration view.
If the user is already logged with FC, the login template provide a link
to the plugin registration view.
Use new setting to enable logout at unlinking. Some cases need it,
like FranceConnect, but others may not. Disabled by default, enable
with : A2_FC_LOGOUT_WHEN_UNLINK = True.
Use new setting for the return url after logout at unlinking. It is
for now 'account_management' but it could be modified. By default it
is the same as the return url at normal logout. Then it should be set
with A2_FC_LOGOUT_AT_UNLINK_RETURN_URL = 'account_management'.
Use logout url building function in utils.
A separate Plugin method is now used to return logout profiles
by redirection.
The logout by iframe is removed because it is not officially supported.
Some useless app settings have been remove.
The next field name can now be set in app settings.