- Change
handleRedirectCallback
->handleLoginRedirectCallback
- Move deps into
dev-dependencies
- Pack
dist/types
dist
package distributed types twice due to issues in @rollup/plugin-typescript
Replacing tenant
& region
with domain
Rename register -> signup.
Add support for crossid region tenant configuration.
Bug fix in audience array to query param convertion.
- Registration and login user flow.
- Allow requesting tokens for narrowed scopes.
- Allow no audience.
- Allow no scopes.
- export Oauth2Error.
- app state can be of any type.
- don't break if IDToken was not returned
- local access token introspection.
- Add
state_type
opt.
- Embed idtoken bearer as a claim (
__bearer
) within the IDToken.
- Logout via redirect.
- Remove required
typ
token header as some providers don't support this.
- Export options.
- Better documentation.
- Fixes for cicd to build before publish.
- Update various properties in
package.json
required in order to publish npm package properly.
- Initial version, with a client that can perform authorization code flow with PKCE extension.
- Create login URL via
createRedirectURL
or redirect byloginWithRedirect
, handle callback viahandleRedirectCallback
. - Client
getUser
andgetAccessToken
methods. - Support for caching tokens using
memory
,localStorage
andsessionStorage
.