---
title: "Authenticate external user and generate tokens"
method: POST
path: "/v1/external/authentication/token"
tags: ["External Authentication Controller"]
---

# Authenticate external user and generate tokens

`POST /v1/external/authentication/token`

Validates an external authentication token, retrieves user information, and generates new access and refresh tokens for the user.

## Request body

- ExternalAuthenticationRequestBean — External authentication request containing token and device info
  - `externalAuthToken` string
  - `deviceToken` string

## Response `200`

Authentication successful

- TokenBean
  - `authToken` string
  - `refreshToken` string
  - `userId` string
  - `platformType` string

## Other responses

- `400` — Invalid request parameters
- `401` — Invalid or expired token
- `500` — Internal server error

---

[API](https://skmtc.dev/floik/apis/floik-authentication-server.md) · [All operations](https://skmtc.dev/floik/apis/floik-authentication-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/floik/floik-authentication-server/revisions/2b2a5dad2f5e/schema)
