-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[google connector] prompt=consent on all offline_access scopes #3450
Comments
Making it configurable is a good improvement. |
@nabokihms it seems it's not possible to omit the |
Looks like a simple fix to me that involves:
Skipping p.s: Apologies if the suggestion is way off the mark. I just glanced through the Google connector code and not entirely familiar with the larger |
I believe the behavior should be the same as that of the generic OIDC connector Line 244 in 1ca4583
As for me, the fix also looks straightforward |
@nabokihms I raised a PR to allow explicit |
Preflight Checklist
Version
2.39.0
Storage Type
Kubernetes
Installation Type
Official Helm chart
Expected Behavior
Dex should omit the
prompt
field when using the Google connector. Or allow it to be configurable usingconfig.promptType
.Actual Behavior
If someone opens an authentication flow against Dex with
scope=["offline_access"]
then dex includesprompt=consent
on its request to Google every time (this code). This is adds unnecessary dialogue boxes for the user. Per Google's docs:Per these docs (see the table) if you omit the
prompt
field, then Google will prompt on first consent and not after.Steps To Reproduce
No response
Additional Information
No response
Configuration
No response
Logs
No response
The text was updated successfully, but these errors were encountered: