svelte-sign-in-with-apple Svelte Themes

Svelte Sign In With Apple

A simple Svelte component for "Sign In With Apple" from WWDC

svelte-sign-in-with-apple

Sample app is in test-app, a compilable component is in the signInWithApple folder.

npx degit john--kane/svelte-sign-in-with-apple apple

This component provides the basic config for the button and meta tags. When using this component, pass through the clientId, scope, redirctURI and state information as defined here:

https://developer.apple.com/documentation/signinwithapplejs/configuring_your_webpage_for_sign_in_with_apple

ToDO

  • Read the response from the Auth call to trigger a routing effect. like svelte:component or with slots

Top categories

Loading Svelte Themes