Run the flow_
Start both apps and sign in with your product end to end.
2 min read
Everything is in place. Run both apps and sign in.
Start both apps
In two terminals:
# in consumer/pnpm dev# in provider/pnpm devVantage is at http://localhost:4100 and TaskFlow's consent screen at http://localhost:4000.
Sign in
Open http://localhost:4100 and click Sign in with TaskFlow. You will:
- Land on TaskFlow's consent screen and sign in with a TaskFlow user.
- See exactly what Vantage is requesting, and approve it.
- Return to Vantage, signed in, with your TaskFlow name and email on the dashboard.
That round trip is a complete OAuth 2.1 authorization code flow against your project's OAuth2 server.
What each side did
- TaskFlow enabled the OAuth2 server, registered Vantage as a confidential client, and hosted a consent screen that authenticates its users and approves grants.
- Vantage redirected to the authorize endpoint, exchanged the returned code for tokens on its server, and read the user's profile from userinfo. The client secret never left its server.
Because the flow is standards-based, a real integrator does not have to use Appwrite or TanStack Start. Any OAuth or OpenID Connect client library pointed at your project's discovery URL works the same way.
The full source for both apps is on GitHub at appwrite-community/oauth-guide-taskflow.
Next steps
Was this page helpful?
Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.