Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Sanitize data from OIDC Provider #171

Open
CyrilBurd opened this issue Aug 13, 2020 · 0 comments
Open

Sanitize data from OIDC Provider #171

CyrilBurd opened this issue Aug 13, 2020 · 0 comments

Comments

@CyrilBurd
Copy link

CyrilBurd commented Aug 13, 2020

What happened:
After successful authorization, the instructions given to user fail, because they have spaces in usernames from the OIDC Provider. There are also spaces in cluster name and .pem filename.

What you expected to happen:
Authorized user should be able to copy/paste and execute the instructions.

How to reproduce it
Set a value with white-spaces for clusterName and KubeCfgUser

Proposed fixes:
Sanitize the input values.

cc: @chaosaffe

@CyrilBurd CyrilBurd changed the title Sanitize data from Active Directory Sanitize data from OIDC Provider Aug 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant