Petran
Petran

Reputation: 8067

eas login with access token

I have an expo app, I need to run eas build. Before that I needed to log in to the expo account but I have signed up with Google, so I don't have a password. I have created a new auth token from expo. But I don't see how can I use this auth token to login from the console.

Upvotes: 1

Views: 396

Answers (1)

David Samson
David Samson

Reputation: 1

The token is the authentication, you can prepend the configured expo token to your command line script like so:

EXPO_TOKEN=my_token eas whoami

or to run a build:

EXPO_TOKEN=my_token eas build

Read more here

Upvotes: 0

Related Questions