-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Enterprise Server External OIDC endpoint failed #283
Comments
Hi @Ravio1i , |
Okay got it. |
It should be done from your machine/Instance not from the cloud. Were you able to do it? Let us know if you are still stuck with the problem. |
Not exactly. I'm not fully certain which connectivity is required. There is no way to expose the github enterprise server endpoint directly. Its only possible to expose everything or nothing. (Would it require some sort of loadbalancer magic?) I allowed the inbound access from the AzureActiveDirectory service tags to the Github enterprise instance, but still the same error. |
Adding @kchandra548 to this thread for further help. |
Hi all,
However, as most GHES instances might be running within a private network, this means those URLs are NOT available from the internet and additionall setup is required. The tricky part is probably to get the DNS setup right as you are required to use the same DNS for your GHES hostname also for the public DNS entries. This might require special configuration for your networking team Once you have the DNS in place, you can either add a load balancing solution in front of your GHES which is available from the internet. When using this approach I would also recommend to setup a Web Application Firewall and only allow the access of those endpoints above. Another solution would be to setup a web server or Lambda/Azure Function that return the content from above URLs once they are requested. Hope this helps a little |
This issue is idle because it has been open for 14 days with no activity. |
Closing this issue as the action itself doesn't deal with exposing these endpoints and the complications associated with it. |
So I've st up oidc following the documentation https://docs.github.com/en/[email protected]/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure
Error
However when using it i run into the following error:
Usage:
Azure configuration of federated credential
When changing the Issuer to
https://<GITHUB_ENTEPRRISE_URL>/_services/token/
with an appended/
the error messages changes toWhere the values of subject and audience are completely the same as configured in azure federeated
The text was updated successfully, but these errors were encountered: