Skip to content
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

Invalid username or password. #19979

Closed
2 tasks done
13567436138 opened this issue Apr 27, 2023 · 5 comments
Closed
2 tasks done

Invalid username or password. #19979

13567436138 opened this issue Apr 27, 2023 · 5 comments
Labels
area/account/api kind/bug Categorizes a PR related to a bug

Comments

@13567436138
Copy link

Before reporting an issue

  • I have searched existing issues
  • I have reproduced the issue with the latest release

Area

account/api

Describe the bug

image

password comes from

[root@mycompany keycloak]# kubectl get secret -n keycloak keycloak -o yaml
apiVersion: v1
data:
  admin-password: OFBTWWZITUVibA==
kind: Secret
metadata:
  annotations:
    meta.helm.sh/release-name: keycloak
    meta.helm.sh/release-namespace: keycloak
  creationTimestamp: "2023-04-27T06:41:30Z"
  labels:
    app.kubernetes.io/component: keycloak
    app.kubernetes.io/instance: keycloak
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: keycloak
    helm.sh/chart: keycloak-13.1.1
  name: keycloak
  namespace: keycloak
  resourceVersion: "6830628"
  uid: c12fbd0d-4a67-4408-bd25-833e51ec79cd
type: Opaque
[root@mycompany keycloak]# echo OFBTWWZITUVibA==|base64 -d
8PSYfHMEbl[root@mycompany keycloak]#

Version

20.0.5

Expected behavior

can login

Actual behavior

invalid username or password

How to Reproduce?

helm install
login

Anything else?

No response

@13567436138 13567436138 added kind/bug Categorizes a PR related to a bug status/triage labels Apr 27, 2023
@sschu
Copy link
Contributor

sschu commented Apr 27, 2023

Are you using some third-party helm chart? If yes, you will probably have to ask the helm chart provider for any issues you have with it. If no, you should provide complete steps to reproduce the problem.

@13567436138
Copy link
Author

13567436138 commented Apr 28, 2023

helm pull bitnami/keycloak
tar zvxf keycloak-13.1.1.tgz
helm install keycloak -n keycloak --create-namespace .

[root@mycompany ~]# helm repo list
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /root/.kube/config
NAME URL
bitnami https://charts.bitnami.com/bitnami

@13567436138
Copy link
Author

solved by checking values.yaml

@ghost ghost removed the status/triage label Apr 28, 2023
@nickthewitcher
Copy link

nickthewitcher commented Jul 13, 2023

solved by checking values.yaml

How do you solve? I have the same problem, thanks in advance for your quick repply.

@Gusta-Darede
Copy link

Hi

I have the same problem. My solution was to check the values.yaml as mentioned by @13567436138 and i saw that the default user installed by helm bitnami/keycloak is: user

image

Normally, the default user is admin, but not in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/account/api kind/bug Categorizes a PR related to a bug
Projects
None yet
Development

No branches or pull requests

4 participants