We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1fb9b76 + 0c82a99 commit 9cb7b1eCopy full SHA for 9cb7b1e
app/controllers/auth_controller.rb
@@ -19,7 +19,14 @@ def callback
19
Achiever::FetchUsersCompletedCoursesFromAchieverJob.perform_later(user)
20
rescue => e
21
Sentry.with_scope do |scope|
22
- scope.set_context("oauth_custom_claim", auth&.info)
+ scope.set_context("CustomClaim", {
23
+ email: auth.info.email,
24
+ first_name: auth.info.first_name,
25
+ last_name: auth.info.last_name,
26
+ stem_achiever_contact_no: auth.info.achiever_contact_no,
27
+ auth0_id: auth.uid,
28
+ stem_user_id: auth.info.stem_user_id
29
+ })
30
Sentry.capture_exception(e)
31
end
32
0 commit comments