Giter Club home page Giter Club logo

django-firebase-auth's People

Contributors

fcornelius avatar jvorcak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-firebase-auth's Issues

not in pypi?

pip install django-firebase-authCollecting django-firebase-auth
Could not find a version that satisfies the requirement django-firebase-auth (from versions: )
No matching distribution found for django-firebase-auth

[Question] Is this way to integrate firebase with django having Strangler pattern in main.

I have the task to migrate the django auth part 1.8~1.11 to firebase auth, with the Strangler Pattern https://docs.microsoft.com/en-us/azure/architecture/patterns/strangler has the main rule, the first thing that I think is make a custom provider for allauth django plugin. but don’t know is this is the right path to go.

Using the Strangler Pattern mean, that the User will login in the current app in production (django), but at the same time with firebase auth app in development, and vice versa. I have some advances, mostly in the firebase part.

The To-Do that I have:

[Done] Migrate the current users with the firebase-tools, Current users can login with the same password in firebase. firebase/firebase-tools#1088

[ ] Login firebase and the same time in django and vice versa.

I have the idea that the custom provider will link the local and social accounts on django with the firebase custom provider, this part is not clear yet to me.

Basically I’m very noob with django and python. So I need some insights to get and define the right tasks for the next spring.

How to create a user ?

Hi, I know this is not an issue at all. But I need to know how to test/add a user using your code.
You said in step #4

Create your users with the Firebase user ID as user ID. Inside your views, you can access the user reference like you're used to with request.user

I have tried to replace the id to firebase uid but ids should be numeric. Do I have to create a new field on my databse ? Also I don't get how to use firebase token in django ? Can you provide more detail ? please ?

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.