Authentication journey tutorial for an iOS React Native app
This tutorial covers the basics of developing a protected mobile app with React Native. You will develop the iOS bridge code along with a minimal React UI to authenticate a user.
Ping does not provide a React Native version of the Ping SDK. Instead we present this how-to as a guide to basic development of "bridge code" for connecting the Ping SDK for iOS to the React Native layer.
This guide covers how to implement the following application features using the Ping SDK for iOS and Ping SDK for JavaScript:
-
Authentication through a simple journey/tree.
-
Requesting OAuth/OIDC tokens.
-
Requesting user information.
-
Logging a user out.
Figure 1. The to-do sample app