-
Notifications
You must be signed in to change notification settings - Fork 264
Closed
Closed
Copy link
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
- OS type and version: Any
- Java version: 21/any
- version(s): 1.23 (but code exists in the newest as well)
Steps to reproduce
- Using Google Ads library (v.31.0.0)
- Create Authorization request by URL
- It contains
approval_prompt=forceby default
Code example
UserAuthorizer userAuthorizer = UserAuthorizer.newBuilder()
.setClientId(ClientId.of("123", null))
.setScopes(Arrays.asList(googleProperties.ads().scopes().split(" ")))
.setCallbackUri("/customer/google)
.build();
return userAuthorizer
.getAuthorizationUrl(
userId,
state,
URI.create(serverHost),
Map.of("prompt", "consent"));External references such as API reference guides
https://developers.google.com/identity/openid-connect/openid-connect#prompt
The approval_prompt is not even mentioned in the documentation
Any additional information below
After using it like this we get an error Conflict params: approval_prompt and prompt
but there is no way to remove approval_prompt parameter, except manual operation after URL is created.
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.