<@U04UQ68083H> Using ory kratos, is it possible to...
# ory-copilot
c
@chilly-king-10285 Using ory kratos, is it possible to issue a session token via admin endpoints?
b
A message from kapa.ai
Based on the provided knowledge sources, there doesn't appear to be explicit information about issuing a session token via admin endpoints in Ory Kratos. However, I can provide some relevant information about session tokens and administrative session management in Ory Kratos: 1. Session tokens are typically issued during the login process for API clients. As mentioned in the [Login Flow documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-login#api-clients), when a user successfully logs in via the API, the response includes a
session_token
. 2. There is an administrative session management feature in Ory Kratos, as described in the [Session Management documentation](https://www.ory.sh/docs/kratos/session-management/list-revoke-get-sessions#administrative). However, this feature is focused on managing existing sessions rather than issuing new session tokens. 3. The administrative operations require the use of an API Key, as stated: "You must use an API Key for all administrative session management operations." While it's possible to list, revoke, and get sessions using administrative endpoints, the knowledge sources don't explicitly mention the ability to issue a new session token via admin endpoints. If you need to issue session tokens programmatically, you might want to consider using the login flow API as described in the login flow documentation. If you require more specific information about issuing session tokens via admin endpoints, you may need to consult the Ory Kratos documentation directly or reach out to Ory support for clarification.