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

@medusajs/auth-google

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medusajs/auth-google

Google OAuth authentication provider for Medusa

  • 0.0.2-preview-20240531001500
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18K
increased by9.57%
Maintainers
0
Weekly downloads
 
Created

Testing

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

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

FAQs

Package last updated on 31 May 2024

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