Modify the extraAuthParameters before calling login #110
Replies: 1 comment
-
Solved it:
function WrappedSecuredApp() {
} export default WrappedSecuredApp;
function App(props) {
.....}
useEffect(() => { |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I need to modify the extraAuthParameters before calling login() function. I tried to do it by simply adding the extraAuthParameter to the authConfig object but it is not taken into consideration:
authConfig.extraAuthParameters = {authhandler: 'some value'};
console.log(authConfig.extraAuthParameters);
login();
If I set the extraAuthParameters in the initial declaration of the authConfig, it works fine. But in my use case I need 2 buttons, one that will login without the extraAuthParameter and another with.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions