Enable SSO and authorization option not found for either SSH keys and Personal Access Token #23864
-
Hello Community, I am trying to build Hugo Website and deploy using Github Actions to push to another repo under my name with
I stumbled upon this Stackoverflow answer, but to my notice, option to enable and authorize SSO to PAT seems to be missing. Any help possible? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
HI @adhadse, welcome Authorizing a personal access token for use with SAML single sign-on is documented here: HOWEVER this is only relevant if your Organization is configured for SSO to an IdP, which is not an available feature for user repositories or free plan Organizations. You will know if SAML is enabled for your organization as you have to provide IdP credentials in addition to your GitHub login credentials when accessing any organization repositories. I am not overly familiar with actions, but the message you pasted states ‘The generated GITHUB_TOKEN (github_token) does not support to push to an external repository’. This implies the personal access token you created is not being used or configured correctly in your action code. You can probably look around and find an example that you could follow to correct this problem, or another helpful community member may post a link. |
Beta Was this translation helpful? Give feedback.
-
Well thanks for the your valuable reply and concern. My problem got fixed, I was typing |
Beta Was this translation helpful? Give feedback.
-
@adhadse great news :slight_smile: Good luck with your website and action deployments. |
Beta Was this translation helpful? Give feedback.
-
So, does it mean it’s impossible to use the automatically generated GITHUB_TOKEN secret in orgs where SAML SSO is enabled? |
Beta Was this translation helpful? Give feedback.
Well thanks for the your valuable reply and concern. My problem got fixed, I was typing
github_token: ${{ secrets.token )) instead of
personal_token: ${{ secrets.token }}. Should Have read the docs prior to this.