Multiple AD user authentication with single ADFS server on Django application

Job ID: 34864924

Budget: $30 – $250 USD

I have a django application and want to enable ADFS authentication on it.
Two scenarios I want to achieve.
1) if user is in same network/domain of the django application then he should get automatically logged in
2) if user is from other domain/ external network then he should get option to enter user and credentials of this domain and our adfs should be able to talk to their domain and authenticate them.

Note- you can use django-auth-adfs module which definitely solves first one but not sure about second

Question:- do you have such exisiting setup ?
Tell me how would you solve this ?