rnc-archive / apple-authentication Goto Github PK
View Code? Open in Web Editor NEWSign In With Apple for React Native
Sign In With Apple for React Native
We should use this issue to track how we are planning to implement v1 of the library.
Package not found with npm or yarn.
Hello, thanks for this! The docs look top.
The iOS13 release is estimated to be on the third week of September and I was wondering if there is an ETA release date for the library.
Thanks for any information and for working on this!
Since React Native provides a seamless integration between Android and iOS, this library could also offer that experience. Apple released Sign In with Apple JS
to add support for non apple devices to use the apple-authentication
feature.
If the developer has an app for android and for iOS he need to provide the same authentication methods.
We could try to load a webview to load the scripts.
<html>
<head>
<meta name="appleid-signin-client-id" content="[CLIENT_ID]">
<meta name="appleid-signin-scope" content="[SCOPES]">
<meta name="appleid-signin-redirect-uri" content="[REDIRECT_URI]">
<meta name="appleid-signin-state" content="[STATE]">
</head>
<body>
<div id="appleid-signin" data-color="black" data-border="true" data-type="sign in"></div>
<script type="text/javascript" src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js"></script>
</body>
</html>
I have gone ahead and created a detailed README for a possible API that we could implement for this library. You can see the details of it here:
All of this is only a suggestion and we should discuss if this API makes sense and open PRs to make changes to it as required.
The goal is to come up with an API that is close to the one provided by Apple, but makes sense in a React context. I have tried to stick to the names that Apple has used and provide access to all of the options which they allow developers to call. We want to make sure our API is as flexible as the iOS one we are wrapping.
SignInWithApple
and SignInWithAppleButton
) and the types.SignInWithApple
or SignInWithAppleButton
) or should they be their own main export (SignInWithAppleButtonType
rather than SignInWithAppleButton.Type
).A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.