Created
April 9, 2021 08:15
-
-
Save zendevil/9b6a6f7a65351ead4cac5759eb051cdd to your computer and use it in GitHub Desktop.
appleAuth cljs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(reg-fx | |
:apple-signin-fx | |
(fn [navigation] | |
(go (let [appleAuthRequestResponse | |
(<p! (.performRequest appleAuth | |
(clj->js | |
{:requestedOperation (.. appleAuth -Operation -LOGIN) | |
:requestedScopes [(.. appleAuth -Scope -Email) | |
(.. appleAuth -Scope -FULL_NAME)]})))])))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment