# Okta SSO Python

**URL:** <https://devforum.okta.com/t/okta-sso-python/9648>\
**Category:** Questions\
**Created:** [June 4, 2020, 3:40pm UTC](https://devforum.okta.com/t/okta-sso-python/9648 "2020-06-04T15:40:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![subhra](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@subhra](https://devforum.okta.com/u/subhra)\
**Post date:** [June 4, 2020, 3:40pm UTC](https://devforum.okta.com/t/okta-sso-python/9648/1 "2020-06-04T15:40:28Z")

</div>

Hello,

I have a requirement where I need to read a file in S3 bucket from lambda function using python. This is simple and no issue on that. What I am trying to achieve is I need to do an authentication with Okta from Lambda Python function so that it provides SSO to connect to S3 (and may be other services e.g. athena too) and I don’t need to connect to S3/other AWS services separately. I need help and sample code on how to achieve that. Can anyone please help?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 24, 2024, 11:27pm UTC](https://devforum.okta.com/t/okta-sso-python/9648/2 "2024-01-24T23:27:08Z")

</div>


