Default redirect uri
Context: https://git.happy-dev.fr/startinblox/applications/sib-app/issues/355
- added
default_redirect_uri
on the User model, which is updated on login, and can be set to an initial value in the admin panel - On login: if they have a
next
set then follow this, if not redirect them to thedefault_redirect_uri
.. if they don't have this set, either, redirect admins to the admin panel, and other users to"sorry, we don't know where to send you!"