MEmoX offers a secure authentication system with two methods for user convenience:
- Click on the "MEmoX: Sign In" button in the VS Code status bar
- Select "Sign in with GitHub" in the authentication window
- Your default browser will open with GitHub's authorization page
- Approve the requested permissions
- VS Code will automatically receive the authentication token
- The status bar will update to show "MEmoX: Signed In"
If you prefer to use a Personal Access Token (PAT) instead:
- Create a GitHub Personal Access Token with the
user:emailscope- Go to GitHub → Settings → Developer settings → Personal access tokens
- Generate a new token with the "user:email" scope
- Click on the "MEmoX: Sign In" button in the VS Code status bar
- Select "Enter GitHub Token"
- Paste your Personal Access Token
- The status bar will update once the token is validated
For organizations using this extension, you'll need to register an OAuth application with GitHub:
- Go to GitHub → Settings → Developer settings → OAuth Apps → New OAuth App
- Set the Application name to "MEmoX"
- Set the Homepage URL to your organization's URL
- Set the Authorization callback URL to
vscode://MEmoX/callback - Register the application and note the Client ID and Client Secret
- Configure these values in VS Code settings:
MEmoX.githubClientId: Your GitHub OAuth Client IDMEmoX.githubClientSecret: Your GitHub OAuth Client Secret
- All authentication tokens are stored securely in VS Code's secure storage
- Token validation occurs without exposing credentials in transit
- Sign out anytime by clicking "MEmoX: Signed In" in the status bar