Skip to content
Discussion options

You must be logged in to vote

The user identity can be found in the request_context, not lambda_context like this:

    match request.request_context() {
        RequestContext::ApiGatewayV1(context) => {
            println!("{:?}", context.identity);
        }
    }

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by BenKfm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant