Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@crossid/crossid-react

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crossid/crossid-react - npm Package Versions

1

0.0.1

Diff

Changelog

Source

0.0.1

All Changes

Major Changes

  • A React provider as a wrapper around crossid-spa-client and initializes a client automatically.
  • Provider maintains a state for the authenticated user and client.
  • Provider handles redirect callback by invoking client handleRedirectCallback automatically.
  • Delegate getAccessToken from provider.
  • Delegate loginWithRedirect so app can start the login (e.g., within a protected route if user is not authenticated).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc