-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Handle missing IdP trait in PAM interpolation. #6558
Conversation
@xacrimon I'm not sure setting a placeholder is the right answer here, what are our alternatives? |
There's three courses of action that are possible to take here
Option A is problematic because it kills all ability to connect to the node with the misconfigured IdP and due to this figuring out the error can be cumbersome as you need to access the node another way in order to find out what is going wrong. |
@fspmarshall @r0mant Can you review? |
* Handle missing IdP trait in PAM interpolation. * emit warning * respond to feedback
This defaults the environment variable during PAM environment variable interpolation if it does not exist. The fallback value is meant to indicate a misconfiguration to notify admins of the issue.
Needs backport to
branch/v6
.Fixes #6545