So i'm trying auth0 with the django rest framework and in the documentation of connecting it with drf it only shows how to validate it but I couldnt find how to connect it to the django database. Dose anyone know how to do this
Related
I am trying to make this blog website for my university, I am using flutter for the frontend and DRF for the backend. I have some questions regarding these.
Do I need to host my DRF API in order to fetch data from the server? will it work if I use the free version of heroku?
Is there a way I can access the Django admin panel from the flutter frontend? like, assign new users using the admin panel that Django offers?
Thank you
Yes it needs to be hosted if you want to fetch data from the server in production. The free version of Heroku is an excellent option for this.
I'm trying to authenticate users in my django app using an existing ASP.Net IdentityServer login app. I've seen the documentation has an example for an angular or react(Javascript based app) but not django. Does anyone have some sample code or tutorial that shows how to do in django? I'm new at this. Especially when it comes to the call back. I'm not sure i need to use an open iD client package to do this. Is it possible to do this in django? Or does it have to be a JS application? I appreciate any assistance
https://identityserver4.readthedocs.io/en/latest/quickstarts/4_javascript_client.html?highlight=authority#add-your-html-and-javascript-files
I am building a Django application and I need to connect to an existing external Laravel site to authenticate users. Basically to have two different platforms, but users only have one set of credentials. Also - users should be able to sign up on the Django, and their user is created in the Laravel DB.
The Laravel site has Laravel Passport (OAuth2 based) installed because it uses it for a Flutter app.
I know that REMOTE_USER is "the Django way" of achieving external auth but, I don't know where to go from there. If it makes a difference, the Django app will be a full REST application using DRF because its frontend will be ReactJS.
Can anyone explain how to achieve external auth with Django, particularly when the authentication server is OAuth2 based? Or better yet, how it can work with Laravel Passport in particular.
Thanks
Iam working in django 2 with websockets inorder to pass the response to and fro a game server.Can anyone suggest the method or the correct flow for complete the communiction task between server and django through websockets?
If your server is already set up in django then django-channels would make sense. Websocket consumers in django channels have full access to your django ORM and your other views in django can issue messages (over channel groups) that can be used to inform the open websocket connections of changes they need to stream to the user.
Is it possible to view your database schema using the django server like one does using phpmyadmin or any other tool to view what is in your database. I have used laragon with laravel was wondering if there is something similar to it in django.