# Wait to create access token until we impersonate a user · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/6a1be11aa63fc0ddbdd782fd14de3c19d1a36edf)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 6a1be11aa63fc0ddbdd782fd14de3c19d1a36edf

Requested commit: 6a1be11aa63fc0ddbdd782fd14de3c19d1a36edf

Commit: 6a1be11aa63fc0ddbdd782fd14de3c19d1a36edf

Tree: e67c56a01bdb583141291f36255adf56f78ef181

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Wait to create access token until we impersonate a user

We need to wait to create the token until we decide on whether we're impersonating a different user, otherwise we'll create the token for the original user and the impersonated user won't be able to authenticate.

```

## Parents

- [cbf6d827db5df62acd691643e7b80193a2e7a6e1](https://git.cafe/gitcafe/zed/commit/cbf6d827db5df62acd691643e7b80193a2e7a6e1?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/6a1be11aa63fc0ddbdd782fd14de3c19d1a36edf?format=markdown)
