openid / AppAuth-iOS

iOS and macOS SDK for communicating with OAuth 2.0 and OpenID Connect providers.

Home Page:https://openid.github.io/AppAuth-iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

prasannachitnis opened this issue · comments

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.