Hello Arun,
In that case, you may just need to import "User" model in model.py as below
from django.db import modelsfrom django.contrib.auth.models import User
class Registration(models.Model): user = models.OneToOneField(User,
on_delete=models.CASCADE)
That's it, and then you need to mention
Hi,
Is there any other way out using the default django AUTH itself.
When you say, custom authentication backend, you mean the models are
completely different and do not use the django Auth mechanism or it just
updates the customer DB?
---
Arun.
On Tuesday, November 14, 2017 at 11:27:26 AM U
Hi,
We're using JSON Web Token for similar SSO. Works well and is secure.
So when link is clicked link will contain JWT payload signed with
pre-shared key (works with asymmetric certs if you want to go that way).
Then we have custom authentication backend and view which logs user in
(and crea
Hi,
I have two different Django Applications.
Both the applications have there respective Auth.
Applications are hosted on different servers.
Now the use case is such that:
There is a redirection link that can be provided from Application 1.
Now i would want to disable auth on Appli
4 matches
Mail list logo