# Configurating Authentication

**URL:** <https://forum.serverless.com/t/configurating-authentication/16944>\
**Category:** Serverless Framework\
**Tags:** aws, lambda, api-gateway\
**Created:** [March 25, 2022, 1:00pm UTC](https://forum.serverless.com/t/configurating-authentication/16944 "2022-03-25T13:00:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdrianMsM91](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@AdrianMsM91](https://forum.serverless.com/u/AdrianMsM91)\
**Post date:** [March 25, 2022, 1:00pm UTC](https://forum.serverless.com/t/configurating-authentication/16944/1 "2022-03-25T13:00:12Z")

</div>

Hello!

I am looking to get inside of my API, any Authentication, so only with one value in the Header, talking about request petition, will be able to return the value.

Something like put in my Header request:

Auth : true

Or something like this… I saw some examples, but no one works, I did something like this…

```auto
getUsers:
    handler: src/getUsers.getUsers
    events:
      - httpApi:
          path: /getUsers
          method: get
          authorizer:
            arn: arn:aws:lambda:eu-west-3:1234567789:function:aws-node-http-api-takitera-dev-getUsers
            idetitySource: method.request.header.Authorization

```

But didn’t work, either I don’t know where should I specify which “word” should put to validate that actually is correct.

If anybody could help me, I would appreciate so much!

Thank you!
