TktPlz lets you sign in with your existing Google account instead of going through email and OTP. When you click “Continue with Google”, you are redirected to Google’s consent screen, and then back to TktPlz. If this is your first time signing in with Google, TktPlz creates a new attendee account for you automatically. The entire flow takes only a few seconds.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Sumitbose5/tktplz/llms.txt
Use this file to discover all available pages before exploring further.
The sign-in flow
Click 'Continue with Google'
On the login or register modal, click the Continue with Google button. The app navigates you to
GET /api/auth/google, which begins the OAuth handshake and immediately redirects your browser to Google’s authentication page.Authenticate with Google
Google shows its standard consent screen. Sign in to your Google account if you are not already signed in, and grant TktPlz permission to read your name and email address.
Redirected back to TktPlz
Google sends you back to
GET /api/auth/google/callback. TktPlz processes the response, creates or looks up your account, and sets the tktplz_cookie session cookie in your browser.If something goes wrong during the Google flow — for example, you cancel the consent screen or Google returns an error — TktPlz redirects you to
/auth-error with a description of what happened.What data TktPlz collects from Google
TktPlz requests two OAuth scopes from Google:profile and email. The table below describes exactly what is stored in your TktPlz account.
| Field | Source | Stored as |
|---|---|---|
| Display name | Google profile | name |
| Email address | Google account email | email |
| Google user ID | Google profile | googleId |
| Profile picture | Google profile photo URL | profilePic |
Account creation and linking
New user
If no TktPlz account exists with your Google email, a new account is created automatically with the
user (attendee) role. You do not need to fill in a registration form.Returning user
If a TktPlz account already exists with your Google email (from a previous Google sign-in), you are signed straight in to the existing account.
API endpoints
These are the two backend endpoints involved in the Google OAuth flow. You do not call them directly — the browser handles navigation — but they are documented here for reference.Initiate Google sign-in
profile and email scopes. No request body is needed.
OAuth callback
tktplz_cookie, and then redirects the browser to /auth-success (on success) or /auth-error (on failure).
Verify the session after sign-in
Once back on TktPlz, the/auth-success page calls GET /api/auth/me to confirm the session cookie is valid and retrieve your user details.
