Coder Social home page Coder Social logo

rxfireauth's People

Contributors

mrasterisco avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rxfireauth's Issues

[Change Request] - SwiftPM support

Is your feature request related to a problem? Please describe.
As Firebase is working to add support to SwiftPM, we should do the same.

Describe the solution you'd like
It should be possible to include this library as a SwiftPM dependency.

Additional context
Here's additional information on Firebase support for SwiftPM.

[Bug] - Login handlers are retained forever

Describe the bug
When using a login handler, the implementation of UserManagerType stores the handler in the loginHandler property. This property is not cleared once the login operation has ended, hence the referenced handler will be retained until UserManager is released.

Expected behavior
The implementation of UserManagerType should promptly release the handler (which may potentially be a large object) when is no longer needed.

Environment:

  • iOS deployment target: any
  • RxFireAuth version: 1.5.0

[Change Request] - Use SafariViewController instead of the whole browser to sign in

Is your feature request related to a problem? Please describe.
When signing-in with OAuth providers that either don't support or don't provide an SDK, we rely on AppAuth to do the work, but we implemented the ExternalUserAgent to open the system browser.

Describe the solution you'd like
We should display an embedded view to improve the user experience and align to other apps.

Additional context
At the moment, the only OAuth provider we support is Google: you can see this behavior happening when you import the library via Swift Package Manager on iOS.

[Change Request] - Add support for changing password

Is your feature request related to a problem? Please describe.
It would be great to have support for changing or adding the user password.

Describe the solution you'd like
A new function to change the user password and, perhaps, one to define if the user currently has a password or not.

[Change Request] - Remove multiple sign in with provider when migration is required

Is your feature request related to a problem? Please describe.
When using Sign in with Apple and allowMigration set to nil, if the Apple ID is a registered user, we get the usual migrationRequired error. That is fine to handle this case, but there's no way to continue the authentication without restarting the procedure from scratch; this result in the Sign in with Apple dialog appearing twice.

Describe the solution you'd like
We should be able to continue the authentication procedure after having asked the user what they'd like to do with their existing data. I'm seeing something like:

func signIn(with credentials: <someCredentialHolder>, updateUserDisplayName: Bool, allowMigration: Bool) -> Single<LoginDescriptor>

When the migrationRequired error is thrown, the caller receives an instance of someCredentialHolder and it is responsible of passing it back to the UserManager in order to proceed with the authentication.

Additional context
This, in addition to solving this issue, would allow us to support more providers without actually implementing them into the library, but that would mean exposing a generic structure to store credentials (something that Firebase already does).

[Bug] - Logout, reset to anonymous throws an error

Describe the bug
Passing true to the resetToAnonymous parameter of the logout function throws an error.
Expected behavior
The system should be able to logout and then create a new anonymous user immediately after.

Environment:

  • iOS deployment target: 13.0
  • RxFireAuth version: 1.1.0

[Change Request] - Update Firebase

Is your feature request related to a problem? Please describe.
The Firebase SDK that is used in this library is quite old.

Describe the solution you'd like
Update the Firebase SDK to the latest available version.

[Change Request] - Add method to delete an account

Is your feature request related to a problem? Please describe.
It would be great to have a method to delete the currently logged-in account.

Describe the solution you'd like
A new function to call that deletes the current account.

[Change Request] - macOS Support

Is your feature request related to a problem? Please describe.
As Firebase supports macOS, we should add support too.

Describe the solution you'd like
The library should be able to build and work on macOS.

Additional context
Firebase has a community supported version that works on macOS.

[Bug] - UserData initializer is internal

Describe the bug
Some of the functions of UserManagerType want a UserData instance, but its initializer is internal.
Expected behavior
The intializer must be public.

Environment:

  • iOS deployment target: 13.0
  • RxFireAuth version: 1.0.0

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.