You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with not being able to put any extra params with signinSilent.
I have studied the code and it seems that most params are disregarded, when using refreshToken.
In our authorization flow I have to specify which context I am currently using, which is done by sending extra parameters with the refresh_token. For example if I want to change which organization I am currently representing, I will put in { organization_id: ... } in which the authorization endpoint will return an id token with extra keys representing this: { ..., context: { organization_id: "123" } }.
This was possible in the oidc-client-js library by calling signinSilent({ organization_id: "123" }).
I have forked this library and have made modifications to suit this need, and I am willing to make a pull request with these changes.
I have a problem with not being able to put any extra params with signinSilent.
I have studied the code and it seems that most params are disregarded, when using refreshToken.
In our authorization flow I have to specify which context I am currently using, which is done by sending extra parameters with the refresh_token. For example if I want to change which organization I am currently representing, I will put in
{ organization_id: ... }
in which the authorization endpoint will return an id token with extra keys representing this:{ ..., context: { organization_id: "123" } }
.This was possible in the oidc-client-js library by calling
signinSilent({ organization_id: "123" })
.I have forked this library and have made modifications to suit this need, and I am willing to make a pull request with these changes.
EDIT: I have made a pull request for this issue
The text was updated successfully, but these errors were encountered: