Socket
Book a DemoInstallSign in
Socket

@medusajs/auth-google

Package Overview
Dependencies
Maintainers
2
Versions
4294
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medusajs/auth-google

Google OAuth authentication provider for Medusa

2.4.1-preview-20250204060150
Source
npmnpm
Version published
Weekly downloads
31K
-6%
Maintainers
2
Weekly downloads
 
Created
Source

Testing

In order to manually test the flow, you can do the following:

  • Register an app in https://console.cloud.google.com/apis/credentials/consent
  • Generate clientId and clientSecret credentials in the console
  • Replace the values in the test with your credentials
  • Remove the server.listen() call
  • Run the tests, get the location value from the authenticate test, open the browser
  • Once redirected, copy the code param from the URL, and add it in one of the callback success tests
  • Once you run the tests, you should get back an access token, id token, and so on.

Keywords

medusa-provider

FAQs

Package last updated on 04 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.