To use the Authentication API, install the @wix/identity package using npm or Yarn:
@wix/identity
or
Then import { authentication } from @wix/identity:
{ authentication }