Hacker News new | ask | show | jobs
by norcalkc 419 days ago
If the apps the AI assistant is trying to connect to support OAuth 2.0, it's easy to setup a social connection (or a custom social connection) with Auth0 (Auth for GenAI). It allows you to connect to hundreds of API services, and configure the granularity of scopes you want to set at a per connection level.

Checkout the step-by-step quickstart [1] if you want to go through calling the Google Calendar API from an AI agent (Vercel AI SDK based in this case). There are also how-tos for other frameworks like LangGraph, GenKit, LlamaIndex, etc. Async authorization is also supported via CIBA (Client-Initiated Backchannel Authentication).

You can also secure remote MCP servers [1] with Auth0.

[0] https://auth0.com/ai/docs/call-others-apis-on-users-behalf [1] https://auth0.com/blog/secure-and-deploy-remote-mcp-servers-...

Disclosure: I work for Auth0.