Commit graph

4 commits

Author SHA1 Message Date
e738e1dbfb ... 2025-01-02 20:45:09 +01: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
215a0a443f chore: consolidate into single component file. 2020-08-12 19:58:59 -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