# Okta authentication for a mobile app?

**URL:** <https://devforum.okta.com/t/okta-authentication-for-a-mobile-app/15141>\
**Category:** Questions\
**Created:** [July 15, 2021, 9:54pm UTC](https://devforum.okta.com/t/okta-authentication-for-a-mobile-app/15141 "2021-07-15T21:54:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jstraker](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@jstraker](https://devforum.okta.com/u/jstraker)\
**Post date:** [July 15, 2021, 9:54pm UTC](https://devforum.okta.com/t/okta-authentication-for-a-mobile-app/15141/1 "2021-07-15T21:54:15Z")

</div>

Hi,

We currently have a web app that staff at our company use to communicate with clients. Staff log into the app via Okta and SAML. Now we want to make a mobile version of that app, but that mobile app needs to do 3 things to let a staff member log in with it:

1. Let the staff member complete the Okta login flow in the mobile app,
2. Tell Okta to log into our server via SAML, and
3. Get a session id back to our mobile app so that it can keep doing its thing

**What is the best way for us to go about implementing Okta authentication/login for this mobile app?**

Some more specifics about the stack:

- The web app has a python (Django) backend and Vue.js frontend. We’re using the pysaml2 library to do SAML logins with Okta as the identity provider
- The mobile version will talk to the same python backend, but be written in Flutter
- Django authentication happens via standard Django sessions, which need a session ID cookie

Thanks!

---

<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:** [February 8, 2024, 6:46pm UTC](https://devforum.okta.com/t/okta-authentication-for-a-mobile-app/15141/2 "2024-02-08T18:46:58Z")

</div>

Closed on February 8, 2024, 6:46pm UTC


