Commit graph

52 commits

Author SHA1 Message Date
dependabot[bot]
400a2237f0
chore(deps): bump browserslist from 4.14.0 to 4.21.2
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.0 to 4.21.2.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.14.0...4.21.2)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-15 18:34:14 +00:00
Darrel O'Pry
4bd9fd293e
Merge pull request #20 from dopry/dependabot/npm_and_yarn/minimist-1.2.6
chore(deps): bump minimist from 1.2.5 to 1.2.6
2022-07-15 14:33:51 -04:00
Darrel O'Pry
11ef375b10
Merge pull request #27 from dopry/dependabot/npm_and_yarn/axios-0.21.4
chore(deps): bump axios from 0.21.1 to 0.21.4
2022-07-15 14:33:40 -04:00
Darrel O'Pry
855e5aa054
Merge pull request #28 from dopry/dependabot/npm_and_yarn/ws-6.2.2
chore(deps): bump ws from 6.2.1 to 6.2.2
2022-07-15 14:33:22 -04:00
Darrel O'Pry
700abacd47
Merge pull request #24 from dopry/dependabot/npm_and_yarn/async-2.6.4
chore(deps): bump async from 2.6.3 to 2.6.4
2022-07-15 14:33:09 -04:00
dependabot[bot]
b8b1daad67
chore(deps): bump ws from 6.2.1 to 6.2.2
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/6.2.1...6.2.2)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-15 18:32:54 +00:00
dependabot[bot]
33d07803ef
chore(deps): bump axios from 0.21.1 to 0.21.4
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.4/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-15 18:32:42 +00:00
Darrel O'Pry
8022e5025e
Merge pull request #25 from dopry/dependabot/npm_and_yarn/moment-2.29.4
chore(deps): bump moment from 2.27.0 to 2.29.4
2022-07-15 14:32:30 -04:00
Darrel O'Pry
28bf7d982e
Merge pull request #26 from dopry/dependabot/npm_and_yarn/svelte-3.49.0
chore(deps-dev): bump svelte from 3.35.0 to 3.49.0
2022-07-15 14:32:13 -04:00
dependabot[bot]
e30742672d
chore(deps-dev): bump svelte from 3.35.0 to 3.49.0
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.35.0 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.35.0...v3.49.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-15 16:46:55 +00:00
dependabot[bot]
2d50c0458c
chore(deps): bump moment from 2.27.0 to 2.29.4
Bumps [moment](https://github.com/moment/moment) from 2.27.0 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.27.0...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 20:19:29 +00:00
dependabot[bot]
ea4d388d99
chore(deps): bump async from 2.6.3 to 2.6.4
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-29 10:57:32 +00:00
dependabot[bot]
80abef3418
chore(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 19:26:34 +00:00
Darrel O'Pry
81ad5ae7a0
Merge pull request #17 from matmunn/allow-adding-custom-options
Allow passing through extra options to oidc-client
2021-07-15 17:10:48 -04:00
Mat Munn
e2c3813cce Document new option and add to example in README 2021-07-16 07:05:09 +10:00
Mat Munn
e234090c67 Camel case variable 2021-07-15 08:08:42 +10:00
Mat Munn
732646dbf7 Allow passing through extra options to oidc-client 2021-07-15 08:06:42 +10:00
Darrel O'Pry
fa5e7f5a4e
Merge pull request #13 from JackDra/master
docs: update with SvelteKit instructions
2021-06-07 19:26:52 -04:00
JackDra
1d75829137 delay UserManager access 2021-05-10 23:16:13 -05:00
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