Category : authentication

i am using this model extending from abstractuser but even after successfully creating user i am not able to get the tokens…. Tokens are genrerated only for those which i created through python manage.py createsuperuser ..others not working. why???? i am using simplejwt authentication. models.py from django.db import models from django.contrib.auth.models import AbstractUser # Create ..

Read more

i have currently have working code in linux which does ldapsearch here is the code export LDAPTLS_CACERT=ldap.pem ldapsearch -D ‘CN=admuser,OU=Service Accounts,DC=InfoDir,DC=Dev,DC=AAA’ -H ldaps://server:1234 -b OU=People,DC=InfoDir,DC=Dev,DC=AAA -W " (cn=staffid)" this asks me password for admuser bind user and gives result. I need to code same in python. Here is my python code from ldap3 import Server, ..

Read more

I am trying to log into this specific website: https://cvmweb.cvm.gov.br/SWB/default.asp?sg_sistema=fundosreg. But in order to do that, I need to specify the CNPJ in the first field (example: 42133922000117). After that, I need to write the captcha image number (Just like the photo Step – 1). Onde finished writing these numbers, I need to keep browsing ..

Read more