Skip to content

Migrate Remaining Norman Token Usage to Steve Tokens #17338

@rak-phillip

Description

@rak-phillip

There are still several references to v3/token (Norman) in Rancher Dashboard that need to be replaced with the v1/ext.cattle.io.tokens (Steve) endpoint. The migration needs to maintain compatibility with Norman tokens until the API has been properly deprecated and support is removed.

Proposed solution

Acceptance Criteria

  • All listed components support both Norman and Steve tokens
  • Token-related flows do not regress (login, inactivity, password change, etc.)
  • Cleanup and permission logic accounts for both token types

Additional details

We need to coordinate with team Collie on this change before bringing it in.

#16674 handled the migration of API Keys, but the change was later reverted via #16947. We need to reintroduce this change to complete the work.

Affected components

There are several areas confirmed to be using v3/token

// Old APIs via Norman
// Base: /v3
export const NORMAN = {
APP: 'app',
AUTH_CONFIG: 'authconfig',
CLUSTER: 'cluster',
CLUSTER_TOKEN: 'clusterregistrationtoken',
CLUSTER_ROLE_TEMPLATE_BINDING: 'clusterroletemplatebinding',
CLOUD_CREDENTIAL: 'cloudcredential',
FLEET_WORKSPACES: 'fleetworkspace',
GLOBAL_ROLE: 'globalRole',
GLOBAL_ROLE_BINDING: 'globalRoleBinding',
NODE_POOL: 'nodePool',
// Note - This allows access to node resources, not schema's or custom components (both are accessed via 'type' which clashes with kube node)
NODE: 'node',
PRINCIPAL: 'principal',
PROJECT: 'project',
PROJECT_ROLE_TEMPLATE_BINDING: 'projectroletemplatebinding',
SETTING: 'setting',
SPOOFED: { GROUP_PRINCIPAL: 'group.principal' },
ROLE_TEMPLATE: 'roleTemplate',
TOKEN: 'token',
USER: 'user',
KONTAINER_DRIVER: 'kontainerDriver',
NODE_DRIVER: 'nodeDriver'
};

These include:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions