Re: Reset password in django rest framework

2021-01-21 Thread Abdulla Ansari
https://www.youtube.com/watch?v=2kKwPk5qPUs=1285s this will help in reseting your password using rest framework On Wednesday, 2 December 2020 at 23:15:37 UTC+5:30 yashwanth balanagu wrote: > Hey guys, > > Anyone know how to do reset password or forgot password in django rest &g

Re: Reset password in django rest framework

2021-01-21 Thread Kanhaiya Agnihotri
run in terminal: python manage.py changepassword user_name On Wednesday, December 2, 2020 at 11:15:37 PM UTC+5:30 yashwanth balanagu wrote: > Hey guys, > > Anyone know how to do reset password or forgot password in django rest > framework > > Mainly resources are very

Re: Explicit specify bad username or password when using BasicAuthentication

2020-12-04 Thread Wilson Cazarré
gt; Steve Wehba > The Mobile App Brewery > steve...@mobileappbrewery.com > 760-846-1082 <(760)%20846-1082> > On Dec 4, 2020, 11:24 AM -0800, Wilson Cazarré , wrote: > > The current behavior of the DRF is given the message "Invalid > username/password" upon bad auth

Re: Explicit specify bad username or password when using BasicAuthentication

2020-12-04 Thread Steve Wehba
ior of the DRF is given the message "Invalid > username/password" upon bad authentication credentials to the API. > > Any thoughts on how to make the error message more explicit by specifying if > was a bad username or password? > -- > You received this message because y

Explicit specify bad username or password when using BasicAuthentication

2020-12-04 Thread Wilson Cazarré
The current behavior of the DRF is given the message "Invalid username/password" upon bad authentication credentials to the API. Any thoughts on how to make the error message more explicit by specifying if was a bad username or password? -- You received this message because you are

Reset password in django rest framework

2020-12-02 Thread yashwanth balanagu
Hey guys, Anyone know how to do reset password or forgot password in django rest framework Mainly resources are very less. so if anyone know please let me know -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubs

Password

2020-11-04 Thread Muhammad Imran
Hello I want to get unhashed password while fetching result from dataabse please anyone can help me class SingleIST1(APIView): authentication_classes = [TokenAuthentication] # permission_classes = [IsAuthenticated] def get(selfs, request, cnic_no, format=None): # content = {'message': 202

Re: Password Validation Link

2020-10-25 Thread Etémé Tsanga R .
Hi, You can use django-rest-auth https://dj-rest-auth.readthedocs.io/en/latest/api_endpoints.html Le dim. 25 oct. 2020 à 04:16, Ashutosh Mishra a écrit : > I have some fields related to user,i need to send validation link to user > email ,link opens a web page to enter password

Password Validation Link

2020-10-24 Thread Ashutosh Mishra
I have some fields related to user,i need to send validation link to user email ,link opens a web page to enter password twice for comlete registration.Later user can log in through this password.Anyone? -- You received this message because you are subscribed to the Google Groups "Django

Re: How to reset password after otp verification

2020-09-20 Thread naveen Kumar
May I know when you need to reset password and y ? On Sun, 20 Sep, 2020, 3:00 pm Ashutosh Mishra, wrote: > unable to get what are you saying. > > > On Sunday, September 20, 2020 at 2:11:51 PM UTC+5:30 beignet...@gmail.com > wrote: > >> you can simply use dj-rest-auth >

Re: How to reset password after otp verification

2020-09-20 Thread Ashutosh Mishra
rification.But unable to >> figure out how to reset password of the user whose password field is in >> some other model. >> >> Hers is my question on stackoverflow >> >> *https://stackoverflow.com/questions/63975517/how-to-change-password-in-after-otp-verific

Re: How to reset password after otp verification

2020-09-20 Thread Etémé Tsanga R .
you can simply use dj-rest-auth Le dim. 20 sept. 2020 à 05:40, Ashutosh Mishra a écrit : > I have create an api's for sending otp and otp verification.But unable to > figure out how to reset password of the user whose password field is in > some other model. > > Hers

How to reset password after otp verification

2020-09-19 Thread Ashutosh Mishra
I have create an api's for sending otp and otp verification.But unable to figure out how to reset password of the user whose password field is in some other model. Hers is my question on stackoverflow *https://stackoverflow.com/questions/63975517/how-to-change-password-in-after-otp

Best way to separate subdomain used for authentication views (login/logout/register/password reset)

2019-11-18 Thread Raunaq Singh
. Login, Logout, Password Reset, Register) for which the server responds with HTML and the rest return JSON. I would like to use different subdomain for these views i.e. different subdomain for HTML views and different subdomain for the JSON views. I'm a Django newbie and would really appreciate

Re: Get user password from JWT

2019-01-18 Thread Wanderley S
Hi Jani, thanks for answering and for all tips as well. I'm aware that any proposed (supposed) option (saving plain text password into session or or in JWT) is good. But how could you suggest connecting to this remote service API wich uses only Basic Authentication? Which options

Re: Get user password from JWT

2019-01-18 Thread Jani Tiainen
Hi. Note that JWT is not encryption but cryptography signing. So password would be in clear plaintext in JWT payload. Also storing password in session might not be a good thing depending where your sessions are stored since again, password would be plain text there as well. If you really need

Get user password from JWT

2019-01-17 Thread Wandss
h requests using BasicAuthentication, meaning I'll have to pass to this other API the users's plain text password. Using only Django I could store user's password into a session variable and retrieve it later on any other view. How could I solve this situation without sessions? Has anyone ever e

Re: How can i change the username, password and email error message of the serialized field(make a custom error message instead of the built-in messages)

2018-09-15 Thread Jason
http://www.django-rest-framework.org/api-guide/validators/#writing-custom-validators You need to write a custom validator -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from

Re: The autoogrnerated API docs(From the core of Django Rest framework) doesn't support endpoints like /accounts/password-reset.

2018-05-19 Thread Ravi Bhushan
please help to solve this problem https://stackoverflow.com/questions/50367739/rest-framework-3-7-with-django-2-0-post-method-does-not-working-in-api-document?noredirect=1#comment87755771_50367739 On Thursday, May 18, 2017 at 5:21:12 PM UTC+5:30, Александр Иванчик wrote: > > I used to The

The autoogrnerated API docs(From the core of Django Rest framework) doesn't support endpoints like /accounts/password-reset.

2017-05-18 Thread Александр Иванчик
I used to The autoogrnerated API docs(From the core of Django Rest framework). For generation I use generics, viewsets, mixins. Simple example: users/ - Displayed in documentation users/{id} - Displayed in documentation users/personal-profile - Not displayed in documentation class

Re: Why is it showing a hashed password?

2017-03-15 Thread CocaCola
Thank you veryvery -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit

Re: Why is it showing a hashed password?

2017-03-15 Thread Xavier Ordoquy
Hi, > Le 15 mars 2017 à 08:06, CocaCola <solsol9...@gmail.com> a écrit : > > Even if there is no security problem.. > The hashed password is meaningless value. > Why is it showing a hashed password? This is the expected behavior. For one thing, it’s a security issue to

Why is it showing a hashed password?

2017-03-15 Thread CocaCola
## Steps to reproduce When sign-up is completed, I don’t want to show hashed password to user # views.py class UserSignup(generics.CreateAPIView): serializer_class = CustomUserSerializer def create(self, request, *args, **kwargs): serializer = self.get_serializer(data

Invalid username/password when working with RequestsClient or CoreapiClient

2016-11-01 Thread Igbineweka Kelvin
= Session() client.auth = HTTPBasicAuth('x', '123!') client.post(url) #this on the other hand fails and says Invalid username/password client = RequestsClient() client.auth = HTTPBasicAuth('x', '123!') client.post(url) Is there anyone having this same issue? please help. -- You

Re: Tutorial error posting with username/password: "Owner field is required" But owner id is saved instead of username.

2016-10-21 Thread Vasco Lameiras
Thanks! I was stuck at this step... On Tuesday, June 21, 2016 at 10:01:34 PM UTC+1, Lewis wrote: > > Problem solved! I figured out my problem by watching this tutorial: > > https://godjango.com/43-permissions-authentication-django-rest-framework-part-2/ > > I accidentally defined my

Serializer Validate method removed spaces in password

2016-06-25 Thread mojtaba kamyabi
here is my code class LoginSerializer(serializers.Serializer): password = serializers.CharField(required=False, style={'input_type': 'password'}) default_error_messages = { 'inactive_account': constants.INACTIVE_ACCOUNT_ERROR, 'invalid_credentials