This setting can be configured from the Identity Provider account like Okta, onelogin, etc when you create an app on it.
On Tue, Aug 25, 2020, 10:48 AM Kamakshi Aggarwal <kamakshi23...@gmail.com> wrote: > Can you explain it more to me? Its not clear. > > On Mon, 24 Aug 2020, 8:04 pm Amresh Giri, <amresh.gir...@gmail.com> wrote: > >> I think this setting can be handled from your IDP side in the >> application. >> >> On Mon, Aug 24, 2020, 5:46 PM Kamakshi Aggarwal <kamakshi23...@gmail.com> >> wrote: >> >>> Hi, >>> >>> We are using django application in our company. We are using >>> RemoteUserAuthentication for that(single sign on). Only employees can sign >>> in. >>> Once employee signs in,is_active filed is set to True by default in >>> auth_user table. >>> >>> Now if user leaves the company how should I set "is_active" field to >>> False. >>> >>> Thanks >>> Kamakshi >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to django-users+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/CAAK5yVtWjyate%2BNuzv58yq-%2Bo9Kd5wju%3DKVP7iBUOSCGc7YSsw%40mail.gmail.com >>> <https://groups.google.com/d/msgid/django-users/CAAK5yVtWjyate%2BNuzv58yq-%2Bo9Kd5wju%3DKVP7iBUOSCGc7YSsw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAJqzuMGHAvTGfMOFDt%3Dq3wtmJBeTCKL1Ui31vkDsga5ggobuJA%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAJqzuMGHAvTGfMOFDt%3Dq3wtmJBeTCKL1Ui31vkDsga5ggobuJA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAAK5yVuvGBEZCGkDNt8825sp%2BPKGezPE855ScLPt4Ltw%2B6J5Xw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAAK5yVuvGBEZCGkDNt8825sp%2BPKGezPE855ScLPt4Ltw%2B6J5Xw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJqzuMHoUs%3DVa0%2BL86ipVE7ZRFGfdp0WFzvy6haUyim3C1i%2BWw%40mail.gmail.com.