-
Notifications
You must be signed in to change notification settings - Fork 270
Add OAuth2 prompting config #8251
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
base: master
Are you sure you want to change the base?
Conversation
|
Hi, thank you for your patch. Can you explain a bit more why you do not like "Press Enter" message? In general I would prefer to not handle this with PAM module options but with prompting options in sssd.conf, see bye, |
|
I think prompting the user to press ENTER, while at the same time asking them to use another device to log in to some URL is actually harmful to the user experience. Regarding the prompting configuration, I agree that it makes sense to have the option there. Then I will move the option to the |
|
As suggested, I removed the PAM option, and added a |
|
Hi, thank you, the new approach looks much better now. Can you squash your initial two patches into the new one so that the changes from the first two does not have to be removed by the third? Please remove the changes to the *.pot file as well, this will be done at certain times before a new release. Additionally, I would like to ask you for a bit of patience and wait until #8212 is merged and then rebase your patch on top of it. And @ikerexxe, the author of #8212, might also have some comments if your new options fits into the general plan for configurable prompts. bye, |
2375d07 to
481d9fb
Compare
|
I squashed the commits and dropped the changes to the *.pot file. Looking forward to seeing the mentioned PR merged. |
481d9fb to
7db70c9
Compare
:config: New options to customize the OAuth2 prompting behavior:
`interactive` and `interactive_prompt`.
7db70c9 to
87d2d5f
Compare
|
Rebased, since there were some conflicts from the passwordless-gdm PR that was merged. Also, CodeFactor complained about complexity of |
This splits the OAuth2 prompt
Authenticate at <url> and press ENTER.into an info messageAuthenticate at "<url>"and a promptPress ENTER to continue.The latter can be skipped by setting the PAM option
skip_enter_prompt.