Commit graph

21 commits

Author SHA1 Message Date
Chris Hickingbottom
863237d282
Update to add demo for class changes and style changes (#40)
* update to add demo for class changes and style changes;

Authored-by: Christopher Hickingbottom <chris@vantageworx.com>
2023-01-24 11:43:39 -05:00
Chris Hickingbottom
0b85df2619
Update LogoutButton to all customizable style designs
Added classes and styles attributes that allow the button to be styled by the developer.
2023-01-20 11:57:03 -06:00
Chris Hickingbottom
a703572dc2
Update LogonButton to all customizable style designs
Added classes and styles attributes that allow the button to be styled by the developer.
2023-01-20 11:55:19 -06: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
JackDra
1d75829137 delay UserManager access 2021-05-10 23:16:13 -05: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
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
Niki Bregvadze
7303a3da49
Add scope as a prop 2020-08-21 01:03:29 +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
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
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