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
{{ message }}
Repository navigation
Is it possible to set configuredFor according to current flow?
#16228
I have two SPIs: one is used in registration flows, with configuredFor attribute set to true, while another is used in authentication flows, with configuredFor set to true only if current user has some attribute verified. These two SPIs, however, have the exactly same logic inside the authenticate and action methods.
I'd like to know if is possible to combine these SPIs into a single one and dynamically set configuredFor attribute, according to the flow that is currently being used. Have you guys any idea?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I have two SPIs: one is used in registration flows, with
configuredForattribute set totrue, while another is used in authentication flows, withconfiguredForset totrueonly if current user has some attribute verified. These two SPIs, however, have the exactly same logic inside theauthenticateandactionmethods.I'd like to know if is possible to combine these SPIs into a single one and dynamically set
configuredForattribute, according to the flow that is currently being used. Have you guys any idea?Thanks in advance!
All reactions