Closed garry-jeromson closed 2 years ago
Took a first pop at the Android fix; would be most grateful for some assistance with iOS, as Objective-C makes my head explode.
Closing this now as PR has been merged in and pushed the changes out as part of 2.3.0. Thanks for the contribution :)
The
claims
parameter is an optional part of the OpenID standard when making an authorization request (see https://openid.net/specs/openid-connect-core-1_0.html#ClaimsParameter).Currently, this parameter is not supported by the Flutter interface layer, so the only way to pass it is via the
additionalParameters
argument when constructing anAuthorizationRequest
. This, however, leads to the following error on Android:The behaviour on iOS also looks suspect, but I haven't been able to verify this yet.
In any case: I suggest that add the
claims
as a named argument to theAuthorizationRequest
constructor and deal with accordingly in the platform-specific implementations so that it can be used.