Skip to content

http request from client app #6764

Answered by eddyashton
bsenthilr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bsenthilr,

Assumption is the authentication phase is pre transaction execution hence is valid. Please suggest if thats not the case.

Authentication also depends on the current KV state (ie - it may read from the KV to determine the caller's current auth status), is executed as part of the same transaction, and hence has the same expectations as any other code running inside a CCF handler. It should (generally) compute something that's purely determined by the KV state and incoming request (not un-attestable data retrieved from elsewhere), and must execute synchronously (and reasonably quickly, as long blocking periods will stall other requests).

There are a few escape hatches you ca…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bsenthilr
Comment options

Answer selected by bsenthilr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants