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

Velaux using dex get token issue #6437

Open
oleksiybozhyk opened this issue Jan 5, 2024 · 1 comment
Open

Velaux using dex get token issue #6437

oleksiybozhyk opened this issue Jan 5, 2024 · 1 comment
Labels
area/auth Topics related to KubeVela Authentication & Authorization.

Comments

@oleksiybozhyk
Copy link

Describe the bug
We have been trying to generate a new access token to use VelaUX Open Apis (previosly we have enabled a dex plugin to have SSO with GitLab), as explained in https://kubevela.io/docs/platform-engineers/openapi/overview/ but when we were trying to get the token the system returned "the login request is invalid" so we have switched attention to dex, which is now the main login meccanism,
by following the apis there is a "handle login request" method that should provide an access token that later should be used for executing requests (https://kubevela.stoplight.io/docs/kubevela/bf08aed77a773-handle-login-request), but this API also require code what is that code?, there are already username and password.

Can you help please to undestand what is the correct way to get the access token to work with Vela APi?

KubeVela Version - v1.9.3
Kubernetes Version - 1.27

@kratosmat
Copy link

Hello Olek,
I am the same problem, it seems that there is no way to use rest api when configure SSO with DEX.
Is it a bug or there is another way to access rest api of velaux?

@dhiguero dhiguero added the area/auth Topics related to KubeVela Authentication & Authorization. label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/auth Topics related to KubeVela Authentication & Authorization.
Projects
None yet
Development

No branches or pull requests

3 participants