openid / AppAuth-iOS

iOS and macOS SDK for communicating with OAuth 2.0 and OpenID Connect providers.
https://openid.github.io/AppAuth-iOS
Apache License 2.0
1.72k stars 744 forks source link

Expose "AdditionalParameters" being returned by Token Endpoint in the response (OIDTokenResponse) to back to clients . #839

Open prasannachitnis opened 3 months ago

prasannachitnis commented 3 months ago

Is your feature request related to a problem you're having? Please describe. Currently the library ignores the custom AdditionalParamters sent by Token-endpoint.

Describe the solution you'd like OIDTokenResponse object has the field "additionalparamters" which holds the any additionalParamter being sent by the Token Endpoints, and when returning to clients OIDAuthState object is being returned which ignores the additionalParamters being sent.

Describe alternatives you've considered

Additional context Add any other context or screenshots about the feature request here.