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
My application supports signing in with username/password and SSO. Logging in with an existing user works as expected, but when adding a new user via the IDP interface, my application throws ActiveRecord::RecordInvalid (Validation failed: Password can't be blank)
I read your suggestion to use config.saml_default_update_resource_hook after config.saml_create_user, but that doesn't work as the devise validation, on create new user, happens before the proc is called, triggering the error.
Any suggestion on how to proceed?
The text was updated successfully, but these errors were encountered:
My application supports signing in with username/password and SSO. Logging in with an existing user works as expected, but when adding a new user via the IDP interface, my application throws
ActiveRecord::RecordInvalid (Validation failed: Password can't be blank)
I read your suggestion to use
config.saml_default_update_resource_hook
afterconfig.saml_create_user
, but that doesn't work as the devise validation, on create new user, happens before the proc is called, triggering the error.Any suggestion on how to proceed?
The text was updated successfully, but these errors were encountered: