How to run expo login with 2FA in CI/CD?

Hi, how would I login to expo using expo login in a CI/CD if the expo login has 2FA enabled?

Problem 1:
When I tried the command expo login -u xxx -p yyy --otp zzz, it always ask me for email again?
And if I don’t specify --otp, it will always ask for the OTP…

Problem 2:
How do I actually get the one time token value in a CI/CD pipeline at all?

Hi
Have you tried creating an acces token?

2 Likes

Awesome!!! This is exactly what I need, thank you so much!!!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.