I use the provided template in the fly.io docs. I have not made any changes except for the -c fly.frontend.toml
flag I added. Now I keep getting the error Error: failed retrieving current user: You must be authenticated to view this.
I did do fly auth logout
to simulate the CI/CD locally. I set the FLY_API_TOKEN
and the FLY_ACCESS_TOKEN
environment variables. I generated these using the following commands. The FLY_API_TOKEN fly tokens create deploy -x 999999h -c fly.frontend.toml
and the FLY_ACCESS_TOKEN fly auth token
. Am I missing anything? The command I use to deploy flyctl deploy -c fly.frontend.toml
also tried with adding --access-token
but also no luck there.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.