@schibsted/niche-schibsted-account
v0.2.3
Published
This package is a wrapper around `@schibsted/account-sdk-browser` that makes it easier to use for Niche team.
Downloads
2,536
Maintainers
Keywords
Readme
niche-schibsted-account
This package is a wrapper around @schibsted/account-sdk-browser
that makes it easier to use for Niche team.
What are additional things it does in coparison to SDK?
- override logout function to allow passing
redirectUrl
(window.location.href
by default) to it. - assigns instance if SDK to
window.Identity
- it is used like that by core comments. - sends events for initialization and user change
- runs simplified login logic