authenticate_with_oauth2
Authenticate users with OAuth2 providers to enable secure access to PocketBase database operations. Handles authorization codes, PKCE verification, and redirect URLs for authentication flows.
Instructions
Authenticate a user with OAuth2
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | OAuth2 provider name (e.g., google, facebook, github) | |
| code | Yes | The authorization code returned from the OAuth2 provider | |
| codeVerifier | Yes | PKCE code verifier | |
| redirectUrl | Yes | The redirect URL used in the OAuth2 flow | |
| collection | No | Collection name (default: users) | users |