Improve the provide function in order to allow passing a factory function#663
Improve the provide function in order to allow passing a factory function#663LcsGa wants to merge 1 commit intoauth0:mainfrom
provide function in order to allow passing a factory function#663Conversation
… a factory function
b722a39 to
06382a6
Compare
|
About the |
|
Hi @LcsGa, thank you for contributing to Auth0! |
|
Hi! any news on this? |
|
Hi @LcsGa, sorry for not responding for so long, that was on our end. The idea here is valid and we would like to get this merged. To move forward we need a rebase on main as there are conflicts, unit tests for the new behaviour, the unrelated formatting changes in |
Description
In some cases, we could need to use some other providers in order to configure auth0.
In this regard, I added the possibility to also provide a factory function and not just a basic value to allow this.
Testing
There is no existing unit tests for this provide function.
You can manually test it by playing with the playground, using this provide function and passing a factory function instead of an object.
Checklist