You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Will Tailscale OAuth authentication be supported ? #19
That doc isn't publicly searchable yet, the feature isn't in Alpha but is being prepared for it. It was made available to a very small number of sites, presumably including yours, as early access.
I've edited the issue to remove the link, we are not ready for a larger number of sites to start trying to use it.
I do expect to add support for OAuth API endpoints in this and other areas where we've produced something which needs a key. That work isn't done, and hasn't been started yet for some of them, because the OAuth feature isn't actually available yet for use.
EDIT: apparently Tailscale wants to support this transparently in the GH action, but until that functionality is available, you can use the snippet above as a workaround.
Reacted by adrsham, Cameron Stokes, Chris Kacerguis, Cédric Dufour @ Exoscale, Loic Lambiel, Gabe De Luca, Mike Nason and Sebastian Danielsson
Reacted by Benjamin Pannell, Jason Costomiris, Zack Fasel, Andreas Olsen Gulla and Sebastian Danielsson
It would be great if we could have this work in such a way that the test step can use an OAuth secret that only has read:acl scope, while the deploy step can use one with acl scope. That way, we can have anyone who opens a PR use credentials to check their change is good without letting them change the action in the workflow file to deploy from their PR before it is merged.
(We can do this by creating a GitHub environment, allowing that environment to only deploy from protected branches, and only giving the acl OAuth credentials to the environment, without having it available as a general actions secret.)
@exo-cedric;
this issue should be fixed with the merge of #24.
@bmillwood;
good point, you could create two oauth credentials and use them based on if it's a test or apply step maybe. probably some other things that can be done like approval of deploy into environment by codeowner or so as well.. the example workflow from the repo could be enhanced :)
@tobiasehlert The v1 tag hasn't been updated / no new v1.x.x tag has been released, so consumers need to reference either main or the commit hash.
Yeah correct @ramblingenzyme. Using main is not that good, it's better to have commit hash to prevent weird things to happen to your workflows (which is what I use).
Based on the track record of release we'll see when there will be a new version, the last one was Sep 2022.
Maybe @willnorris could look into a new release? :)
Activity
DentonGentry commentedon Jan 19, 2023
That doc isn't publicly searchable yet, the feature isn't in Alpha but is being prepared for it. It was made available to a very small number of sites, presumably including yours, as early access.
I've edited the issue to remove the link, we are not ready for a larger number of sites to start trying to use it.
I do expect to add support for OAuth API endpoints in this and other areas where we've produced something which needs a key. That work isn't done, and hasn't been started yet for some of them, because the OAuth feature isn't actually available yet for use.
korenyoni commentedon Feb 12, 2023
(for context, OAuth Clients are now available in beta — https://tailscale.com/kb/1215/oauth-clients/)
See #20
EDIT: apparently Tailscale wants to support this transparently in the GH action, but until that functionality is available, you can use the snippet above as a workaround.
bmillwood commentedon Jul 5, 2023
It would be great if we could have this work in such a way that the test step can use an OAuth secret that only has
read:aclscope, while the deploy step can use one withaclscope. That way, we can have anyone who opens a PR use credentials to check their change is good without letting them change theactionin the workflow file to deploy from their PR before it is merged.(We can do this by creating a GitHub environment, allowing that environment to only deploy from protected branches, and only giving the
aclOAuth credentials to the environment, without having it available as a general actions secret.)tobiasehlert commentedon Jan 30, 2024
@exo-cedric;
this issue should be fixed with the merge of #24.
@bmillwood;
good point, you could create two oauth credentials and use them based on if it's a
testorapplystep maybe. probably some other things that can be done like approval of deploy into environment by codeowner or so as well.. the example workflow from the repo could be enhanced :)ramblingenzyme commentedon Jan 31, 2024
@tobiasehlert The
v1tag hasn't been updated / no newv1.x.xtag has been released, so consumers need to reference eithermainor the commit hash.tobiasehlert commentedon Jan 31, 2024
Yeah correct @ramblingenzyme. Using main is not that good, it's better to have commit hash to prevent weird things to happen to your workflows (which is what I use).
Based on the track record of release we'll see when there will be a new version, the last one was Sep 2022.
Maybe @willnorris could look into a new release? :)
ramblingenzyme commentedon Jan 31, 2024
@tobiasehlert A new release would be appreciated, it's very confusing when the GitHub Marketplace page shows the README.md from main and it still references using
@v1. https://github.com/marketplace/actions/sync-tailscale-aclswillnorris commentedon Jan 31, 2024
done.
v1.1.0tagged, andv1updated. (Done manually for now... will need to switch to one of the various actions that are out there to automate this)