// Package kiro provides OAuth Web authentication templates. package kiro const ( oauthWebStartPageHTML = ` AWS SSO Authentication

🔐 AWS SSO Authentication

Follow the steps below to complete authentication

1 Click the button below to open the authorization page
🚀 Open Authorization Page
2 Enter the verification code below
Verification Code
{{.UserCode}}
3 Complete AWS SSO login

Use your AWS SSO account to login and authorize

{{.ExpiresIn}}s
Waiting for authorization...
💡 Tip: The authorization page will open in a new tab. This page will automatically update once authorization is complete.
` oauthWebErrorPageHTML = ` Authentication Failed

❌ Authentication Failed

Error:

{{.Error}}

🔄 Retry
` oauthWebSuccessPageHTML = ` Authentication Successful

Authentication Successful!

You can close this window.

Token expires: {{.ExpiresAt}}
` oauthWebSelectPageHTML = ` Select Authentication Method

🔐 Select Authentication Method

Choose how you want to authenticate with Kiro

🔶 AWS Builder ID (Recommended)
or
Your AWS Identity Center Start URL
AWS Region for your Identity Center
Copy from Kiro IDE: ~/.kiro/kiro-auth-token.json → refreshToken field
⚠️ Note: Google and GitHub login are not available for third-party applications due to AWS Cognito restrictions. Please use AWS Builder ID or import your token from Kiro IDE.
💡 How to get RefreshToken:
1. Open Kiro IDE and login with Google/GitHub
2. Find the token file: ~/.kiro/kiro-auth-token.json
3. Copy the refreshToken value and paste it above
` )