New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pola68

npm

Packages

Comaintainers

5 packages

@ordergroove/auth

Given a [merchant auth endpoint](#merchant-auth-endpoint) this function tries to resolve the current auth. If **og_auth** is in cookie it returns it, otherwise it call the merchant auth endpoint detecting if response is JSON or cookie set by response head