iMerica / dj-rest-auth

Authentication for Django Rest Framework
https://dj-rest-auth.readthedocs.io/en/latest/index.html
MIT License
1.64k stars 306 forks source link

You're accessing the development server over HTTPS, but it only supports HTTP. #466

Open Danimoz opened 1 year ago

Danimoz commented 1 year ago

You're accessing the development server over HTTPS, but it only supports HTTP. This error always shows up while assessing a dj-rest-auth view

kiraware commented 1 year ago

looks like you are trying to access your API with django development server through https instead of http. django runserver only serve http not https. Make sure you type it correctly in url, for example http://127.0.0.1:8000/my-api/