You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@medusajs/auth-github

Package Overview
Dependencies
Maintainers
3
Versions
3114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medusajs/auth-github

Github OAuth authentication provider for Medusa

2.8.8
latest
Source
npmnpm
Version published
Maintainers
3
Created
Source

Testing

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

  • Register a Github App - https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app
  • Go to the app, fetch the clientId and create a new clientSecret
  • 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 and so on.

Keywords

medusa-provider

FAQs

Package last updated on 24 Jul 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