title: Django for iOS app with AWS RDS - How to do registration and login with Django REST Framework?
body: <p>I'm building an iOS app, right now it does nothing, I'm implementing the user registration and login first. There's a couple half-implemented features that interact with the database, I've tested them, they work. But right now forget all the things, let's just focus on having proper registration and login for the application.</p>
  
  <p>The backend is Django 1.9, Django REST Framework 3.3, with Amazon Web Services, using Elastic Beanstalk.</p>
  
  <p>I tried googling all of google, tried using multiple methods (aside from using GMail/Facebook for logging in). Using Django-allauth 0.26 right now, and getting status 403 for both registration and logging in. Registration works when using the browser, but not the mobile frontend. Don't know why.</p>
  
  <p>When attempting to login in the browser, a popup pops up saying that the domain (from AWS Elastic Beanstalk) requires a username and password. Part of me is thinking that this is the culprit, but I don't know where this is coming from. I can't find anywhere in AWS that might cause this to popup. I tried all my usernames and passwords, and none of them work.</p>
  
  <p>Please someone help. My time is running out.</p>
  
  <p><strong>Edit</strong></p>
  
  <p><strong>Just go <a href="http://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/" rel="nofollow">here</a>. I should've gone through the tutorial like everyone else, but if you happen to get this problem and happen to read this post, you'll find the answer in the official tutorial and API-Guide in the official website (Right next to the tutorial in the navigation bar of the official website, up top. You can't miss it.)</strong></p>