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

Can't get Bearer Token to login #24

Open
rgrupesh opened this issue Jul 29, 2022 · 4 comments
Open

Can't get Bearer Token to login #24

rgrupesh opened this issue Jul 29, 2022 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@rgrupesh
Copy link
Member

What happened:
I ran into this error when I tried to generate Bearer Token.

Screenshot from 2022-07-29 13-19-59

Karmada is running locally:

Screenshot from 2022-07-29 13-19-44

What you expected to happen:
Generate token something like this:

eyJhbGciOiJSUzI1NiIsImtpZCI6InZLdkRNclVZSFB6SUVXczBIRm8zMDBxOHFOanQxbWU4WUk1VVVpUzZwMG8ifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrYXJtYWRhLXN5c3RlbSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJrYXJtYWRhLWRhc2hib2FyZC10b2tlbi14NnhzcCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJrYXJtYWRhLWRhc2hib2FyZCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImE5Y2RkZDc3LTkyOWYtNGM0MS1iZDY4LWIzYWVhY2E0NGJiYiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDprYXJtYWRhLXN5c3RlbTprYXJtYWRhLWRhc2hib2FyZCJ9.F0BqSxl0GVGvJZ_WNwcEFtChE7joMdIPGhv8--eN22AFTX34IzJ_2akjZcWQ63mbgr1mVY4WjYdl7KRS6w4fEQpqWkWx2Dfp3pylIcMslYRrUPirHE2YN13JDxvjtYyhBVPlbYHSj7y0rvxtfTr7iFaVRMFFiUbC3kVKNhuZtgk_tBHg4UDCQQKFALGc8xndU5nz-BF1gHgzEfLcf9Zyvxj1xLy9mEkLotZjIcnZhwiHKFYtjvCnGXxGyrTvQ5rgilAxBKv0TcmjQep_TG_Q5M9r0u8wmxhDnYd2a7wsJ3P3OnDw7smk6ikY8UzMxVoEPG7XoRcmNqhhAEutvcJoyw

Anything else we need to know?:

I am using VM on Azure. Specifications:

H/W path      Device       Class          Description
=====================================================
                           system         Virtual Machine (None)
/0                         bus            Virtual Machine
/0/0                       memory         1MiB BIOS
/0/4                       processor      Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
/0/6                       memory         16GiB System Memory
/0/6/0                     memory         1GiB 
/0/6/1                     memory         15GiB 
/0/2          enP64564s1   network        MT27710 Family [ConnectX-4 Lx Virtual Function]
/0/1                       communication  PnP device PNP0501
/0/3                       communication  PnP device PNP0501
/0/5                       system         PnP device PNP0b00
/0/7          scsi0        storage        
/0/7/0.0.0    /dev/sda     disk           32GB Virtual Disk
/0/7/0.0.0/1  /dev/sda1    volume         29GiB EXT4 volume
/0/7/0.0.0/e  /dev/sda14   volume         4095KiB BIOS Boot partition
/0/7/0.0.0/f  /dev/sda15   volume         105MiB Windows FAT volume
/0/7/0.0.1    /dev/sdb     disk           34GB Virtual Disk
/0/7/0.0.1/1  /dev/sdb1    volume         31GiB EXT4 volume
/1            eth0         network        Ethernet interface
/2            veth85bd3be  network        Ethernet interface
/3            veth7267d66  network        Ethernet interface
/4            veth16074fb  network        Ethernet interface
/5            veth3b9abcd  network        Ethernet interface
@rgrupesh rgrupesh added the kind/bug Categorizes issue or PR as related to a bug. label Jul 29, 2022
@rgrupesh
Copy link
Member Author

rgrupesh commented Aug 2, 2022

@RainbowMango

@RainbowMango
Copy link
Member

Which document are you looking? Let me try on my side.

@rgrupesh
Copy link
Member Author

rgrupesh commented Aug 3, 2022

I'm trying to bypass token for development purposes only.

Screenshot from 2022-08-03 18-08-36

@KevinLiangX
Copy link

hello i also get this same issue in my cluster . karmada is ready, but get the dashboard token to login UI ,it show request failed.
to check the karmada-apiserver log "Unable to authenticate the request" err="invalid bearer token""
is there any idear?

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

No branches or pull requests

3 participants