Skip to main content

iOS

Please make sure you read our guide on how to get started with OAuth2 integration.

Obtaining OAuth 2.0 client credentials

A perquisite to creating client credentials is for your app to have the value of the redirect URL where the user will land after successfully authenticating/logging out implemented.

Once you have the redirect URL, please contact us with the following:

  1. Redirect URL.
  2. The scopes you would like to be granted to your app.
  3. Make sure to mention that it's meant for usage on mobile apps so we enable PKCE support.

OAuth2 Clients

There are a few client SDKs out there for an iOS native app to authenticate and authorize end-users using OAuth 2.0 and OpenID Connect. One of the most recommended ones is AppAuth. Below is a demo of an AppAuth client that was used to connect to Quran.Foundation Authorization server and authenticate a user.

iOS client connecting to Quran.Foundation OAuth2 server