Authentication Migrator
DevOps & Securityauthentication-migratorAuthentication Migrator is an Agent Skill for devops & security published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Migrate authentication systems with credential migration, OAuth2/OIDC setup, and identity provider integration
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/code-migration-modernization/skills/authentication-migrator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/authentication-migrator, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Authentication Migrator Skill
Migrates authentication systems, handling credential migration, session-to-token conversion, and identity provider integration.
Purpose
Enable authentication modernization for:
- Credential migration
- Session to token conversion
- OAuth2/OIDC setup
- MFA migration
- Identity provider integration
Capabilities
1. Credential Migration
- Extract user credentials
- Hash conversion
- Secure transfer
- Validation testing
2. Session to Token Conversion
- Migrate from sessions
- Implement JWT tokens
- Handle refresh tokens
- Manage token lifecycle
3. OAuth2/OIDC Setup
- Configure authorization server
- Set up flows
- Implement scopes
- Handle client credentials
4. MFA Migration
- Transfer MFA settings
- Support multiple methods
- Handle device registration
- Manage recovery codes
5. Identity Provider Integration
- Configure IdP connections
- Set up federation
- Handle SAML/OIDC
- Manage user sync
6. User Migration Scripts
- Generate migration scripts
- Handle data transformation
- Validate migration
- Support rollback
Tool Integrations
| Tool | Purpose | Integration Method |
|---|---|---|
| Auth0 | Identity platform | API |
| Keycloak | Open source IdP | API/CLI |
| Okta | Identity management | API |
| AWS Cognito | AWS identity | CLI |
| Azure AD B2C | Azure identity | CLI |
Output Schema
{
"migrationId": "string",
"timestamp": "ISO8601",
"users": {
"total": "number",
"migrated": "number",
"failed": "number"
},
"credentials": {
"passwords": "number",
"mfaDevices": "number"
},
"configuration": {
"oauth2": {},
"idpConnections": []
},
"validation": {
"loginTests": {},
"tokenTests": {}
}
}
Integration with Migration Processes
- authentication-modernization: Primary migration tool
Related Skills
compliance-validator: Security compliance
Related Agents
authentication-migration-agent: Migration orchestration