S.
09/21/2024, 5:26 PMS.
09/21/2024, 5:28 PMAlexander Sysoev
09/22/2024, 9:20 AMS.
09/22/2024, 10:19 AMAnother problem is, it seems that rpc request is not carrtying bearer token like normal http call.I think he encountered the same issue. For normal http requests, you would get access to the JWT payload via the ApplicationCall. something like
ApplicationRequest.call.principal<JWTPrincipal>()?.payload?.getClaim("userId")
. I don't think there's an equivalent for this using the rpc serviceS.
09/22/2024, 10:23 AMAlexander Sysoev
09/22/2024, 10:35 AM