// SPDX-FileCopyrightText: 2026 Progmasoft // SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1 import type { Metadata } from "next"; import { CredentialsShell } from "@/components/credentials/CredentialsShell"; import { applicationKinds } from "@/lib/credentials"; import { getCredentialsMessages } from "@/lib/credentials-messages"; import { getLocale } from "@/lib/locale.server"; export async function generateMetadata(): Promise { return { title: getCredentialsMessages(await getLocale()).metadata.newToken }; } /** The first step of a new token: the type of the application. */ export default async function NewTokenPage() { const locale = await getLocale(); const { kinds, portal, common } = getCredentialsMessages(locale); return (

{kinds.label}

{common.back}

); }