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