Comments (9)
I'm looking to use this for a client. I have everything setup and working.
I'm using Nginx to proxy the app.
One thing I'm struggling with are the Facebook API Oauth settings on the Facebook side.
With everything i believe to be correct, when i click the "Sign in with Facebook" i receive
Warning
You are not logged in: You are not logged in. Please log in and try again.
I assume I'm missing something, as Facebook is not prompting for credentials.
from django-unifi-portal.
Have you configured a Facebook application for your app?
from django-unifi-portal.
Yes and I've added the key and secret.
I think my App config in Facebook might not be correct.
I never get prompted for a username and password when clicking "SIGN IN WITH FACEBOOK"
from django-unifi-portal.
Try to open the domain "facebok.com" for a while, just for the signing operation. Unfortunately this is a typical problem that Unify team is working on.
from django-unifi-portal.
I assumed Facebook never talks to the the Unifi controller, but just to Django Unifi Portal?
I thought all the authentication happens on the Django side, then once authenticated, Django issues an API call to the unifi controller with the Mac address to allow access to the Internet.
Do you have Facebook authentication working?
from django-unifi-portal.
Yes, Facebook never talks to the controller but just to Django but the first authentication step( facebook login) happens on Facebook Side (for privacy reasons) then Facebook return a token to Django.
from django-unifi-portal.
Ok I have it working now. I had the wrong OAuth redirect URIs in the Facebook App settings
Correct URI is: /auth/complete/facebook
from django-unifi-portal.
Hello @JamesLodge, did you open the domain "facebook.com" (o relative IPs) to make it work ?
from django-unifi-portal.
@bsab on the unifi side I add facebook subnets on the Pre-Authorization Access
from django-unifi-portal.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-unifi-portal.