Closed zwass closed 9 months ago
Confirmed the behavior outlined by Zach.
A similar error will generate if you are not currently logged into fleetctl
reed@reed fleet % sudo ./build/fleetctl generate mdm-apple --email bob@ross.edu --org colorbynumbers
Token missing. Please log in with: fleetctl login
Error: token config value missing
@sharon-fdm This should be ready for prioritization.
@xpkoala @georgekarrv Should this go to MDM team?
@sharon-fdm In my haste I assigned to the Endpoint team as that team has taken a majority of the fleetctl work in the past.
@sabrinabuckets is also in agreement this should go to the MDM team; I'll re-assign over there.
This command hits the server, more precisely this endpoint:
I don't recall the details now, but it was necessary for Fleet to act as a reverse proxy for fleetdm.com. We also included the other SCEP certificates in the request since the endpoint is used both by fleetctl
and the UI to generate all three certs.
per the above, I'm closing as this is the expected behavior. Please feel free to reopen!
Token check removed, Fleet's path clearer, seamless, In cloud city, we trust.
Fleet version: fleetctl 4.40.0
💥 Actual behavior
🧑💻 Steps to reproduce
🕯️ More info (optional)
IIRC this command doesn't actually need to hit the Fleet server, it only needs to hit fleetdm.com. If that is true, then there shouldn't be a check for a valid auth token for the Fleet server.