Commit Graph

4612 Commits

Author SHA1 Message Date
Mikaël Ates 28571cd049 No logout from unlink view when not logged on FC. 2019-05-31 14:51:55 +02:00
Mikaël Ates d083aa2af1 Logout after unlinking. 2019-05-31 14:51:55 +02:00
Mikaël Ates be2e577463 logout_list returns a uri for redirect, string for iframe. 2019-05-31 14:51:55 +02:00
Mikaël Ates 26ff01c617 New app settings.
DO_LOGOUT : Flag to activate logout. False by default.

    LOGOUT_REDIRECT : Flag to set logout by redirect or in
    an iframe. Redirect by default.

    LOGOUT_RETURN_URL : Django url name to redirect after
    logout. '/' by default.
2019-05-31 14:51:55 +02:00
Mikaël Ates 48d8ae832c Add a callback view for logout. 2019-05-31 14:51:55 +02:00
Mikaël Ates d8ac2bd1f5 Remove js popup class for linking for now. 2019-05-31 14:51:55 +02:00
Mikaël Ates 6ef3a56960 Update translations. 2019-05-31 14:51:55 +02:00
Mikaël Ates d55a62fc19 Update style for a small FC button. 2019-05-31 14:51:55 +02:00
Mikaël Ates 2679bbd52d Add link creation button from frontend profile template. 2019-05-31 14:51:55 +02:00
Mikaël Ates ae646d54cd Add translation tag to frontend connecting template. 2019-05-31 14:51:55 +02:00
Mikaël Ates dbf844549a FranceConnect does not take space separator. 2019-05-31 14:51:55 +02:00
Mikaël Ates 1c603dd8c1 Load i18n tag in frontend connecting template. 2019-05-31 14:51:55 +02:00
Mikaël Ates 72817450c6 add load tags in frontend linking template. 2019-05-31 14:51:55 +02:00
Mikaël Ates ec32f90888 Enhance FC button style. 2019-05-31 14:51:55 +02:00
Mikaël Ates 1ed0e10299 Adapt templating structure for stylesheet including and display a FC button. 2019-05-31 14:51:55 +02:00
Mikaël Ates a311dd3b34 Bits of style for a FC button. 2019-05-31 14:51:55 +02:00
Mikaël Ates c3353827bd Add new FC image. 2019-05-31 14:51:55 +02:00
Mikaël Ates b493116cda Update translations. 2019-05-31 14:51:55 +02:00
Mikaël Ates 19b819c18f Modify unicode of FcAccount Model. 2019-05-31 14:51:55 +02:00
Mikaël Ates 24ba87c3e9 Add unlink links on account management page. 2019-05-31 14:51:55 +02:00
Mikaël Ates 9542494d91 Add csrf token and unlink explanations to unlink page. 2019-05-31 14:51:55 +02:00
Mikaël Ates 56689192f1 End unlink view. 2019-05-31 14:51:55 +02:00
Mikaël Ates 81ce1becd8 Name unlink url. 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 713f778397 add an unlink view 2019-05-31 14:51:55 +02:00
Mikaël Ates 9649f47d3a Use same template as msp plugin for login page. 2019-05-31 14:51:55 +02:00
Mikaël Ates b0b80811f7 Update translations. 2019-05-31 14:51:55 +02:00
Mikaël Ates 8c6cd95ae9 Display FC logo with the login template. 2019-05-31 14:51:55 +02:00
Mikaël Ates aa407e7289 Add FC logo. 2019-05-31 14:51:55 +02:00
Mikaël Ates 2f1cb52851 Remove trailling whitespaces. 2019-05-31 14:51:55 +02:00
Mikaël Ates dc4b392e64 Add linking content with the frontend profile method. 2019-05-31 14:51:55 +02:00
Mikaël Ates 18199828ea Add data provider requesting. 2019-05-31 14:51:55 +02:00
Mikaël Ates 00b0f4292d Add settings to define data providers. 2019-05-31 14:51:55 +02:00
Mikaël Ates db8f623e70 Set FcAccount user_info field at login. 2019-05-31 14:51:55 +02:00
Mikaël Ates d5e241ce3d Add user_info field to FcAccount model. 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 3c150e559d Finish logout, it would be better to do it after logout from all SPs 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 4a12ab832e First working implementation, logout is not finished 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne f1abc831cc app_settings: rename enabled to enable 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 2d740a600b remove __version__ and dependency on sekizai 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 9e252f35ae views: add debug logs, improve info log, copy id_token and user-info into session 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne e462747142 auth_frontends: remove profile() method 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 5900635621 Remove static files 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne a5c11de080 Remove unused templates 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 6f64938bb6 pep8ness 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne c4ccd540f0 Fix JWT payload extraction 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne b40414e811 Keep only the LoginOrLinkView 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 177995a1c8 Rename MSP plugin as FC plugin 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne d37985d944 Fix source package name in changelog 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 2d28dfa7c2 Initial packaging 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 2f8f197622 Use reference to the custom user model 2019-05-31 14:51:55 +02:00
Benjamin Dauvergne 9ce5e1c1b4 bump release to 1.0.5 2019-05-31 14:51:55 +02:00