Closed
Description
When you start an external provisioner using a PSK the CLI drops a warning
check entitlement warnings error: get user me: GET http://coder.example.com/api/v2/users/me: unexpected status code 401: You are signed out or your session has expired. Please sign in again to continue.: Try logging in using 'coder login <url>'.
Error: Cookie "coder_session_token" or query parameter must be provided.
This happens because the PSK auth doesn't work for the entitlement warnings or other startup checks.
We should just ignore these checks when starting an external provisioner daemon as they are meant for humans not a daemon.