iOS Application using PKCE & Cloudentity Authorization Platform

This sample iOS application obtains an access token from Cloudentity Authorization Platform using Authorization Code grant and PKCE.

A more detailed explanation is available at App Dev Tutorials

Prerequisites

Running the sample application

  • Clone the repository and open the simple-pkce folder in Xcode.
  • Add your client id as the value for the ClientID key in Info.plist
  • Add your workspace token URL as the value for the TokenEndpoint key in Info.plist
  • Add your workspace authorization URL as the value for the AuthorizeEndpoint key in Info.plist
  • Add your URL scheme in Info.plist Register Your URL Scheme Note: Can be left as-is oauth://com.example.simple-pkce and then add oauth://com.example.simple-pkce as the redirect uri in your client application.
  • Run the application in Xcode by selecting Product > Run

Relevant Links