-
Notifications
You must be signed in to change notification settings - Fork 25
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
Error 500 When Creating Organization with LDAP or Microsoft Azure AD Authentication #133
Comments
You need to upgrade your ingress setup by default is using java.lang.IllegalArgumentException: Unable to resolve the Configuration with the provided Issuer of "https://terrakube-api.minikube.net/dex"
at org.springframework.security.oauth2.jwt.JwtDecoderProviderConfigurationUtils.getConfiguration(JwtDecoderProviderConfigurationUtils.java:168) ~[spring-security-oauth2-jose-6.1.9.jar:6.1.9] You can check the following link. https://docs.terrakube.io/getting-started/deployment/ingress-configuration |
To use self signed certificats you will also need to read the following: https://docs.terrakube.io/getting-started/deployment/custom-ca-certs |
@alfespa17 , Thank you for the response. As per the documentation, the Dex DNS is derived from the API DNS, i.e., https:///dex. Could you please confirm if I need to create a separate DNS entry for the Dex DNS as well? and how to configure DEX issuer |
You don't need a different domain you can have DEX in the following URL for example |
Hi @alfespa17 , How can I ensure that Dex is working correctly? { |
That is correct if you are using |
@alfespa17 , thanks for the confirmation. |
hello @Shubham-Jawkar1 can you share the example yaml file that you are using for the deployment (without any sensitive information) |
Just to confirm you are using minikube to test right? |
Description:
I have deployed Terrakube with a self-signed certificate. After logging in, I am encountering an issue when trying to create an organization. The operation fails, and in the browser's inspect section, I can see that a 500 error is being returned.
I am facing this issue with both OpenLDAP and Azure AD authentication methods
Steps to Reproduce:
Deploy Terrakube with a self-signed certificate.
Configure LDAP or Microsoft Azure AD authentication.
Log in using LDAP or Azure AD credentials.
Attempt to create an organization.
Expected Behavior:
The organization should be created successfully without any errors.
Actual Behavior:
The operation fails, and a 500 error is returned in the browser.
Additional Information:
Browser Console Errors: 500 Internal Server Error
API Container Logs: (See attached log file for reference)
Environment:
Terrakube version: [3.17.6]
Deployment method: [e.g, Azure Kubernetes Service]
Authentication method: [OpenLDAP, Microsoft Azure AD]
Browser: [e.g., Chrome, Edge]
Please let me know if you need any additional information or if there are any steps I can take to help diagnose this issue further.
terrakube-api.log
The text was updated successfully, but these errors were encountered: