Open v21 opened 1 year ago
I see two problems being sort of muddled together, here.
oauth-client-id
input parameter, which when used must contain what the Tailscale docs refer to as an OAuth client's client ID, which seems to correspond to an OAuth2 client identifier.
b. Simple solution: s/OAuth identity/OAuth client ID/
or s/OAuth identity/Input parameter oauth-client-id/
Seconding this that the message is very misleading. I ran into this today and was very confused, because I double checked that the secrets exist and contain the values. There should be an emphasis in the README for the tags:
tags is a comma-separated list of one or more ACL Tags for the node. ⚠️ At least one tag is required!
oh man not cool, please give better error report for this, or example workflow +acl and so on. just starting out with tailscale and was really confused about this error
If you leave out the "tag" parameter, you get this message: "OAuth identity empty, Maybe you need to populate it in the Secrets for your workflow, see more in https://docs.github.com/en/actions/security-guides/encrypted-secrets and https://tailscale.com/s/oauth-clients".
Ideally it should mention that the tag parameter might be the issue, or ideally flag a unique error.