// Package kiro provides OAuth Web authentication templates.
package kiro
const (
oauthWebStartPageHTML = `
AWS SSO Authentication
🔐 AWS SSO Authentication
Follow the steps below to complete authentication
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
`
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
⚠️ 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
`
)