Skip to content

Add arkose verify response details to custom attributes

This MR adds the arkose response details to the user's custom attributes

How to validate locally

  1. Go to rails console
rails c
  1. Update the failed_attempts to ensure the Arkose integration will be triggered
= User.last
  User Load (1.3ms)  SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1 /*application:console,db_config_name:main,line:(pry):30:in `__pry__'*/
=> #<User id:104 @new_user2>
[31] pry(main)> user.failed_attempts = 4
=> 4
[32] pry(main)> user.save!
  1. Go to the login page and sign-in

  2. Sign in with an Admin user and go to the admin section

Screen_Shot_2022-04-05_at_11.51.51_AM

  1. go to the user's section

Screen_Shot_2022-04-05_at_11.52.05_AM

  1. Filter the user

Screen_Shot_2022-04-05_at_11.52.17_AM

  1. Check the custom attributes

Screen_Shot_2022-04-06_at_11.46.53_AM

Edited by Marcos Rocha

Merge request reports

Loading