# How to secure mobile apps?

**URL:** <https://forum.keycloak.org/t/how-to-secure-mobile-apps/1790>\
**Category:** Getting advice\
**Tags:** authentication, gatekeeper\
**Created:** [March 21, 2020, 10:22pm UTC](https://forum.keycloak.org/t/how-to-secure-mobile-apps/1790 "2020-03-21T22:22:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![softshipper](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/softshipper/32/740_2.png) [@softshipper](https://forum.keycloak.org/u/softshipper)\
**Post date:** [March 21, 2020, 10:22pm UTC](https://forum.keycloak.org/t/how-to-secure-mobile-apps/1790/1 "2020-03-21T22:22:27Z")

</div>

Hi all

Is Keycloak friendly for securing mobile app and how to integrate login page into native app?

Thanks

---

<div class="post-metadata">

**Author:** ![Robinyo](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Robinyo](https://forum.keycloak.org/u/Robinyo)\
**Post date:** [March 21, 2020, 10:39pm UTC](https://forum.keycloak.org/t/how-to-secure-mobile-apps/1790/2 "2020-03-21T22:39:53Z")

</div>

Contemporary applications use OpenID Connect (OIDC) for authentication and OAuth 2.0 (scopes and claims) for authorization.

See:

- [Securing Applications and Services Guide](https://www.keycloak.org/docs/latest/securing_apps/index.html#openid-connect)
- [iOS and macOS SDK for communicating with OAuth 2.0 and OpenID Connect providers](https://github.com/openid/AppAuth-iOS)
- [Android client SDK for communicating with OAuth 2.0 and OpenID Connect providers](https://github.com/openid/AppAuth-Android)
