Fix typos in README.md example code

This commit is contained in:
Peter McNeil 2020-10-21 18:54:45 +11:00 committed by GitHub
parent a4aa8439f1
commit 8b817efeb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ App.svelte
import { import {
OidcContext, OidcContext,
authError, authError,
authToken, acessToken,
idToken, idToken,
isAuthenticated, isAuthenticated,
isLoading, isLoading,
@ -44,7 +44,7 @@ const metadata = {
client_id="aOijZt2ug6Ovgzp0HXdF23B6zxwA6PaP" client_id="aOijZt2ug6Ovgzp0HXdF23B6zxwA6PaP"
redirect_uri="https://darrelopry.com/svelte-oidc/" redirect_uri="https://darrelopry.com/svelte-oidc/"
post_logout_redirect_uri="https://darrelopry.com/svelte-oidc/" post_logout_redirect_uri="https://darrelopry.com/svelte-oidc/"
metdata={metadata} metadata={metadata}
> >
<button on:click|preventDefault='{() => login() }'>Login</button> <button on:click|preventDefault='{() => login() }'>Login</button>
@ -121,4 +121,4 @@ npm run showcase:dev
**use semver** **use semver**
1. npm publish 1. npm publish
2. npm showcase:build 2. npm showcase:build
3. npm showcase:publish 3. npm showcase:publish