Comment on page
To add the Auth Kit to your project, run:
yarn add @safe-global/auth-kit @web3auth/safeauth-embed
The Auth Kit can integrate several providers in the form of "packs". A pack is a piece of code that works with the chosen provider to give Safe users access to new services.
To use each pack, you must ensure the appropriate packages are installed.
To start working with the packs, instantiate the main class and call the
const pack = new SafeAuthPack(packConfig)
After the initialization, use the methods in the pack to interact with the chosen provider.
There are some common methods (
signOut(), etc.) that can be called regardless of the package being used.