How to authenticate using OAuth providers with the PulseGuard API.
PulseGuard supports OAuth authentication through popular providers like Google, GitHub, and Discord. This allows users to authenticate without creating a separate password.
# Get authorization URLcurl -X GET "https://app.pulseguard.nl/api/oauth/google/auth-url" \\ -H "Accept: application/json"# After user authorizes, handle callbackcurl -X GET "https://app.pulseguard.nl/api/oauth/google/callback?code=AUTH_CODE&state=STATE" \\ -H "Accept: application/json"