All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-beta.8 (2022-09-23)
Note: Version bump only for package root
1.0.0-beta.7 (2022-09-20)
1.0.0-beta.6 (2022-09-17)
- browser,react,vue: enable userinfo endpoint (cae6eff)
- bump to essentials v1.2.1 to use utf-8 on decoding base64 (5a4ad09)
1.0.0-beta.5 (2022-09-13)
- js,client: enable user endpoint in js core and client sdks (abd2842)
1.0.0-beta.4 (2022-09-09)
- browser-sample: make sign-in work again (#389) (9201291)
- react,vue: fix mis-handled isAuthenticated state in react and vue sdks (9fe790d)
1.0.0-beta.3 (2022-08-22)
1.0.0-beta.2 (2022-08-08)
- express: init express and add routes handler (#375) (5fbfc1b)
- express: with logto (#378) (9626b76)
- node: support client secret (#372) (43d0de9)
1.0.0-beta.1 (2022-07-25)
1.0.0-beta.0 (2022-07-21)
- client: add client package (#329) (04c7b56)
- client: persist access token (#359) (10fb181)
- next-sample: implement nextjs sample (#362) (406082d)
- next: add sign in callback route (#348) (80c9e34)
- next: grant access token and check expiration (#361) (3171b58)
- next: init and sign in route (#339) (f17364a)
- next: set getAccessToken as an option (#364) (e27577c)
- next: sign out (#358) (f773ce0)
- next: ssr support (#363) (886e260)
- next: with logto api route (#355) (60eb143)
- node: node sdk (#338) (2cb03c1)
1.0.0-alpha.3 (2022-07-08)
Note: Version bump only for package root
1.0.0-alpha.2 (2022-07-08)
1.0.0-alpha.1 (2022-07-07)
Note: Version bump only for package root
1.0.0-alpha.0 (2022-07-07)
0.2.2 (2022-06-30)
0.2.1 (2022-06-30)
Note: Version bump only for package root
0.2.0 (2022-06-30)
0.1.18 (2022-06-29)
0.1.17 (2022-06-29)
- deps: update dependency superstruct to ^0.16.0 (#302) (d23c3d3)
- js SDK: getAccessTokenByRefreshToken should not return idToken (95a1b96)
- js: refresh access token without a resource should return id token (05d34d6)
0.1.16 (2022-06-14)
0.1.15 (2022-06-08)
Note: Version bump only for package root
0.1.14 (2022-06-02)
Note: Version bump only for package root
0.1.13 (2022-06-01)
Note: Version bump only for package root
0.1.12 (2022-05-31)
- react: calling getIdTokenClaims will not cause infinite loop (10a5caa)
0.1.11 (2022-05-28)
Note: Version bump only for package root
0.1.10 (2022-05-28)
- js: oidc error description should be optional string (0867e34)
0.1.9 (2022-05-27)
- 'LogtoClientError' should be exported as class instead of type (85fc983)
0.1.8 (2022-05-27)
- browser-sample: add typescript to browser-sample dev dependencies (756283c)
- vue-sample: include link dependency correctly in build options (8b37058)
0.1.7 (2022-05-17)
0.1.6 (2022-05-17)
- react: add error prop to useLogto context (ebe9e96)
0.1.5 (2022-05-05)
- browser: read/write refreshToken from/to localStorage only (5e95349)
- browser: remove session item after successful sign-in (f33bcd2)
- leverage root
prepack
lifecycle for publish (#235) (8e66d82)
0.1.4 (2022-03-18)
0.1.3 (2022-03-16)
Note: Version bump only for package root
0.1.2 (2022-03-10)
Note: Version bump only for package root
0.1.2-rc.1 (2022-03-10)
Note: Version bump only for package root
0.1.2-rc.0 (2022-03-10)
0.1.1-rc.0 (2022-03-10)
- add
publishConfig
to packages (a809e25)
- js: initialize js/js package (#122)
- add license (#42) (89fb076)
- browser-sample: add browser sample pages (ebc990d)
- browser-sample: init package (10076e1)
- browser: add LogtoClient constructor (0a09559)
- browser: add LogtoClient constructor (#160) (d738c0b)
- browser: browser end user information getters (b93ebe4)
- browser: check if sign-in redirect URI has been redirected (3baabcf)
- browser: export js core types from browser SDK (325cfdf)
- browser: handle sign-in callback (#181) (58a4792)
- browser: sign out (6e85fac)
- browser: sign-in session storage (#175) (98120fd)
- browser: signIn (#170) (2418193)
- client: support node (#96) (367ec03)
- codeVerifier and codeChallenge (#35) (7efe0eb)
- custom scope (#71) (2a48b3d)
- decode token (#34) (42655d6)
- discover (#37) (d17912e)
- express-server (78b495a)
- getAccessToken (#65) (9480d8b)
- grantTokenByAuthorizationCode (#40) (eddb25e)
- grantTokenByRefreshToken (#45) (34f0081)
- handle redirect callback (#64) (c7d0b6a)
- isLoginRedirect (#77) (af0aa9f)
- js: add CodeTokenResponse (#186) (ece931c)
- js: add state to loginWithRedirect to prevent csrf attacking (#94) (3d41e08)
- js: core function generateSignOutUri (0a26ebe)
- js: decodeIdToken (#128) (973708b)
- js: export in index.ts (#159) (423c185)
- js: fetch access token by authorization code (1160683)
- js: fetchOidcConfig (#138) (8555d16)
- js: fetchUserInfo (#152) (e0dca51)
- js: generate state, code verifier and code challenge (#125) (9784f3a)
- js: implement fetchTokenByRefreshToken (4e6600e)
- js: refactor fetchTokenByRefreshToken (#147) (f8dbcce)
- js: requester (#137) (c86745b)
- js: revoke (#153) (2e554ca)
- js: scopes and generateSignInUri (#150) (c47e3ea)
- js: verifyAndParseCodeFromCallbackUri (#132) (7180b03)
- js: verifyIdToken (#127) (954dc6d)
- lint: add lint-stage to all packages (1289e3e)
- loginWithRedirect and handleCallback (5629e2a)
- logout (#56) (3884ab9)
- logto client (#53) (75b5ed0)
- memory storage (#52) (d2fa92e)
- node (1957bf4)
- onAuthStateChange (#82) (e8dda56)
- playground: migrate playground to js repo (65bc597)
- protected route (#84) (d28db7c)
- react-playground: implement react-playground (897911d)
- react-playground: make encrypted user login info in url invisible (#109) (13df814)
- react-sample: add react sample webpages (3716789)
- react-sample: init react sample project (467c76a)
- react-sdk: update react sdk (951d316)
- react: auto handle callback (#92) (58ee454)
- react: init provider & hook (#74) (b30e993)
- react: react SDK with context provider (1be502d)
- redirect and login (#30) (8758507)
- requestLogin (#43) (f0abbd3)
- storage (#49) (07ae993)
- token-set (#48) (2e98b05)
- tokenset (#32) (1a919bc)
- transaction manager (#51) (9aadf06)
- verifyIdToken (#39) (f324ad9), closes #35
package.json
(8afd534)- await generateCodeChallenge (#63) (82f7fe0)
- browser: getAccessToken saves refreshToken and idToken (#191) (cb768f0)
- browser: isSignInRedirected should return false when session is empty (#210) (ca4ad2c)
- browser: should use userinfo_endpoint in fetchUserInfo function (04caf8d)
- ci: fix some dummy code (53dc7cf)
- client: ci lint fix (5795db1)
- client: cr fix (fb8f214)
- client: fix client sdk (c333ca8)
- client: fix superstruct validation rule (b93b9a7)
- client: typings location (#68) (0ee542d)
- client: wrap window.location.assign (#101) (bddc3eb)
- core: cr fix (46671a1)
- export storage (#61) (93bf512)
- fix npm script typo (d410522)
- js: grant type should be 'authorization_code' instead of 'code' (5d416d0)
- js: response_type should be hard-coded as 'code' (5048ae1)
- js: update lock file (0536626)
- js: update node-fetch version (8f012dd)
- plaground: cr fix (2b444db)
- playgrond: set webpack performance hint to warning (2d81d71)
- playground: extend package size limit (c7aa38f)
- playground: fix playground jest evn errors (36f6030)
- publish workflow (#219) (1d13dab)
- react-sample: table style not applied issue (#217) (2a2bf77)
- react-sdk: cr fix (1fe7093)
- remove useless comments (#57) (21b6f65)
- rm unnecessary console.log in unit tests (#70) (30f6933)
- tsc commonjs (#73) (ec14c84)
- ut: update jest coverage configs (b10d84e)