# Impersonation when your session is a bearer token

DevFeed: [Impersonation when your session is a bearer token](<https://devfeed.tech/articles/impersonation-when-your-session-is-a-bearer-token-58817.md>)

Original publisher: [Read original article](<https://workos.com/blog/impersonation-bearer-token-sessions>)

Author: WorkOS

Published: 2026-09-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [WorkOS](<https://devfeed.tech/sources/workos-blog.md>)

Topics: [Authentication](<https://devfeed.tech/topics/authentication.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [client](<https://devfeed.tech/topics/client.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [client](<https://devfeed.tech/tags/client.md>), [configuration](<https://devfeed.tech/tags/configuration.md>)

## AI overview

This tutorial explains why cookie-based user impersonation patterns do not transfer directly to single-page and mobile applications using bearer-token sessions. It describes how impersonation information can travel inside a signed credential and notes a required dashboard configuration step for AuthKit.

## Source excerpt

Why the cookie swap every framework recommends does not transfer, what each SDK actually hands you, and why the exit path is safer here than it was.