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 noticed an issue in the code while I was trying to setup the password exchange.
I need to set the options.userProperty of the exchange/password.js file (this line), so that it does not my user property in my request, however, I noticed that the other functions which call the exchange function, do not pass my option variable to it. For this case, I am using middleware/token.js with the options I need, however, it seems that the server._exchange never passes my options (this line and this line).
Also, I tried to send my options at the time I am passing my issue function to the exchange, as the first argument, however, the exchange function in the server.js file, only gets issue function and the exchange type, but not the options value (line).
I believe this issue is true for all the four exchanges we have, and someone needs to modify the options value as needed, but they cannot. I think either of the above approaches (options as an argument to exchange function or passing options to the server._exchange or both) can be a solution.
This open issue is also related to my issue and I tried to use the userProperty to address the aforementioned issue.
Thank you for your attention.
The text was updated successfully, but these errors were encountered:
Hello,
I have noticed an issue in the code while I was trying to setup the password exchange.
I need to set the
options.userProperty
of theexchange/password.js
file (this line), so that it does not myuser
property in my request, however, I noticed that the other functions which call the exchange function, do not pass my option variable to it. For this case, I am usingmiddleware/token.js
with the options I need, however, it seems that theserver._exchange
never passes my options (this line and this line).Also, I tried to send my
options
at the time I am passing myissue
function to the exchange, as the first argument, however, the exchange function in theserver.js
file, only gets issue function and the exchange type, but not theoptions
value (line).I believe this issue is true for all the four exchanges we have, and someone needs to modify the options value as needed, but they cannot. I think either of the above approaches (
options
as an argument toexchange
function or passingoptions
to theserver._exchange
or both) can be a solution.This open issue is also related to my issue and I tried to use the
userProperty
to address the aforementioned issue.Thank you for your attention.
The text was updated successfully, but these errors were encountered: