The useWixAuth() hook returns the authentication strategy of the enclosing WixProvider, such as OAuthStrategy or APIKeyStrategy.
useWixAuth()
OAuthStrategy
APIKeyStrategy
Note: This hook must be used inside an enclosing WixProvider component.
1