JackDra
7bf19b5d59
docs: update with SvelteKit instructions
2021-04-11 03:03:02 -05:00
Darrel O'Pry
5401fed671
chore: update docs
2021-03-18 15:55:47 -04:00
Darrel O'Pry
f21e54d8a8
fix: auth0 logout
2021-03-18 15:53:45 -04:00
Darrel O'Pry
e4cf984082
fix: context must be loaded on initialization
...
svelte 3.25 and later won't let you call getContext and setContext
outside of component initialization. This means you need to implement
components inside the Auth0Context that getContext on initialization
then pass them to functions
BREAKING CHANGE: function signature for login, logout, and refreshToken
2021-03-18 15:43:23 -04:00
Darrel O'Pry
c35df91c73
chore: update eslint
2021-03-18 14:52:34 -04:00
Darrel O'Pry
d3612f625f
chore: rollup pkgs
2021-03-18 14:51:50 -04:00
Darrel O'Pry
cfde3c9ef4
chore: upgrade rollup
2021-03-18 14:00:02 -04:00
Darrel O'Pry
827119fde6
Merge pull request #8 from pmcneil/master
...
Fix README.md typos
2020-10-21 12:50:13 -04:00
Peter McNeil
a1085368b2
Fix acessToken -> accessToken
2020-10-21 18:59:04 +11:00
Peter McNeil
8b817efeb7
Fix typos in README.md example code
2020-10-21 18:54:45 +11:00
Darrel O'Pry
a4aa8439f1
fix: silentLoginIframe Timeouts.
...
signinCallback wasn't being called when state was set but not code,
which happens when there are errors. I also did some error handling
the refreshToken calll. This is kind of a quick fix. I need to revisit the
flows here to make sure all the correct things are being done for the
various callback states.
2020-08-25 13:33:22 -04:00
Darrel O'Pry
e668272c6b
Merge pull request #2 from nikibreg/patch-1
...
Add scope as a prop
2020-08-20 17:10:36 -04:00
Niki Bregvadze
7303a3da49
Add scope as a prop
2020-08-21 01:03:29 +04:00
Darrel O'Pry
b4424f3fe8
docs: ssr and contributors
2020-08-20 11:57:30 -04:00
Darrel O'Pry
27577a876a
feat: add silent login on load.
2020-08-12 20:04:10 -04:00
Darrel O'Pry
356f437331
chore: lint
2020-08-12 20:00:55 -04:00
Darrel O'Pry
215a0a443f
chore: consolidate into single component file.
2020-08-12 19:58:59 -04:00
Darrel O'Pry
701668b662
chore: update deps
2020-08-12 18:55:51 -04:00
Darrel O'Pry
401bbcc219
chore: bump version 0.2.0
...
Change Log:
features:
- metadata property - add meta data in addition to what comes from the
.well-known/openid-configuration
fixes:
- silent login and checksession should be fixed.
2020-06-04 03:28:51 -04:00
Darrel O'Pry
4c612f3929
chore: fix npm audit
2020-06-04 03:26:20 -04:00
Darrel O'Pry
08dc5a96cd
chore: code style fixes and documentation updates.
2020-06-04 03:22:48 -04:00
Darrel O'Pry
77fd4d289d
feat: add refreshToken/SlientLogin button
2020-06-04 03:22:07 -04:00
Darrel O'Pry
6859dfb31b
fix: silentlogin and checksession
...
I was forcing a redirect login result. Switch to signinCallback instead
of signinRedirectCallback. signinCallbacks checks the login type
varaible and calls the appropriate redirect, popup, or silent callback
as necessary.
2020-06-04 03:21:05 -04:00
Darrel O'Pry
0e75316501
fix: update auth state on userManager events
2020-06-04 03:18:55 -04:00
Darrel O'Pry
f02c4fb6d0
chore: move metadata to a property
...
so consumers can override instead of making assumptions.
2020-06-04 03:15:18 -04:00
Darrel O'Pry
e33be0b7aa
fix: route /callback to spa demo
2020-06-04 03:14:17 -04:00
Darrel O'Pry
90e2b458ea
chore: release 0.1.1 with doc updates for npmjs.
2020-05-28 13:03:10 -04:00
Darrel O'Pry
8d19887e5e
chore: setup distinct app for svelte-oidc-demo
2020-05-28 13:00:21 -04:00
Darrel O'Pry
6d99ccc356
docs: correct README.md
2020-05-28 12:53:42 -04:00
Darrel O'Pry
ea69784001
fix: update showcase config.
2020-05-28 12:52:16 -04:00
Darrel O'Pry
b7d9c345fa
feat: highlight json
...
- update svelte to 3.23.0
- add svelte highlight
- add highlight to home page json.
2020-05-28 12:40:40 -04:00
Darrel O'Pry
c6f7bcef5f
fix: user not defined after auth
2020-05-28 12:37:56 -04:00
Darrel O'Pry
4fd62abe31
feat: oidc-client.js based Svelte OidcComponent
...
follows a pattern similar to @dopry/svelte-auth0,
but uses the more standards compliant oidc-client.js
library.
2020-05-28 11:34:47 -04:00