Comments (12)
I've recently been working on a interop library for Sign in with Apple JS: https://pub.dev/packages/sign_in_with_apple_js
Currently using it in conjunction with this package to provide Apple Sign In on all platforms.
Would a pull-request implementing web support using this interop package be agreeable? Some extra steps I would include:
- Creating a new package -- sign_in_with_apple_web -- with the interop package as a dependency
- Copy the interface from
sign_in_with_apple
- Dynamically adding this script tag
<script type="text/javascript" src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js"></script>
- Calling Sign in with Apple JS
init
andsignIn
fromgetAppleIDCredential
- Change this package to use
sign_in_with_apple_web
on web platforms
If this sounds good, I'll whip up a PR.
(( couple edits about implementation ))
from dart_packages.
Thanks for your patience while I find the time to get started on this. Finally diving in!
I'll use this thread for any issues I run into, and to share progress. Looking to get it all completed by the end of this month. 👍🏼
from dart_packages.
Hello! Any update on this yet?
from dart_packages.
@tapkain Probably not soon. Apple already offers a solution for the web stack, see #90 for a more detailed explanation.
from dart_packages.
Hello. Would you like to reconsider adding web support to sign_in_with_apple? Flutter web is progressing and it'd be nice to have the option to sign in with apple in it. Firebase auth already supports web and it already recommends your package to sign in with apple in iOS and macOS, but as web is not supported, we need to use other code
Rest api support would also be nice :)
from dart_packages.
@mhrst et all: Revisiting this issue, I see how it could and should be much easier to get Sign in with Apple into web project.
If you're still up for it, let's work together and add it to this project so it'll work out of the box :)
from dart_packages.
Thanks for the reference, will do that! Offer - would be great to include that info in the readme web section, so that future users won't bloat here the github issues.
from dart_packages.
Thanks for your work on this package.
I agree with others, tt would be so nice to have web support for this package!
from dart_packages.
Delayed longer than I estimated -- thanks for everyone's patience 🙇🏽. Now moving along on this:
https://github.com/mhrst/dart_packages/tree/web
First commit refactors the plug-in as a federated plugin. This could make other PRs less easily automatically merged as it moves some code around.
from dart_packages.
@mhrst Have you tackled this further beyond the federated plugin split? (Will check that out in detail and would merge your commit if that's still up to date.)
We'll certainly be implementing web support within the next week, so would be interesting so share any existing work or learnings beforehand. (I'll be starting out to keep it simple and work with "just Flutter" (with a redirect) and avoid the external JS as outlined in #90).
from dart_packages.
Implementation is now underway in #263
from dart_packages.
This has now been published as version 3.3.0. Please check it out and reach out in case of any trouble updating your app :)
from dart_packages.
Related Issues (20)
- SSO Apple sing in with firebase show Error Continue button not working , Flutter Web
- Apple delete account HOT 1
- sign_in_with_apple ^5.0.0 is forbidden HOT 1
- sign_in_with_apple: Migrate to `package:web` to support WASM HOT 6
- sign_in_with_apple: getCredentialState always returns authorized HOT 3
- Fix deprecation warnings
- Update dependencies (js) in sign_in_with_apple_web HOT 1
- iOS - Apple login not getting correct email and after successful login nothing happens HOT 2
- sign_in_with_apple web: TypeError when the sign in flow completes in version 6.0.0, works in 5.0.0 HOT 9
- I hope to add an option to remove Android dependencies, as Apple login is generally not needed on Android devices. HOT 4
- Add iOS privacy manifests HOT 4
- [sign_in_with_apple] Add privacy manifest file for iOS HOT 1
- Cannot find symbol ... sign_in_with_apple.SignInWithApplePlugin() HOT 6
- Facing issue in getting name in apple signin. HOT 9
- The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. HOT 6
- userIdentifier is null on web HOT 4
- Remove references to deprecated v1 Android embedding HOT 1
- Your app offers Sign in with Apple as a login option but does not follow the design and user experience requirements for Sign in with Apple. Specifically: HOT 1
- Conflicting declarations: val TAG: String for Android HOT 1
- [sign_in_with_apple] Sign in with Apple not working on mobile web browsers in Flutter HOT 1
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 dart_packages.