useWixAuth()

The useWixAuth() hook returns the authentication strategy of the enclosing WixProvider, such as OAuthStrategy or APIKeyStrategy.

Note: This hook must be used inside an enclosing WixProvider component.

Example

Copy
1
Was this helpful?
Yes
No