{"repo":"gary-archer/oauth.mobilesample.ios","free":true,"listed":false,"github":"https://github.com/gary-archer/oauth.mobilesample.ios","clone":"git clone https://github.com/gary-archer/oauth.mobilesample.ios.git","description":"Final iOS Mobile Code Sample, secured with OAuth and OpenID Connect","language":"Swift","stars":35,"topics":["ios","mobile","oauth2","swift"],"license":"MIT","category":"mobile-apps","readme_excerpt":"iOS OAuth Mobile Sample Overview A demo mobile app using OAuth and OpenID Connect, which aims for the best usability and reliability. Views The app is a simple UI with some basic navigation between views, to render fictional investment resources.\\ Its data is returned from an OAuth-secured API that uses claims-based authorization.\\ The app uses user attributes from both the OpenID Connect userinfo endpoint and its API. Local Development Quick Start Open the app in Xcode and run the app on a simulator, to trigger an OpenID Connect login flow.\\ This triggers a code flow to authenticate the user with the AppAuth pattern.\\ Logins run in the system browser using a AsWebAuthenticationSession and the app cannot access the user's credentials: You can sign in to the app using my AWS Cognito test account: The app receives the login response using a claimed HTTPS scheme redirect URI, in the most secure way.\\ iOS Universal Links enables the claimed HTTPS scheme redirect URI and requires a cloud hosted deep linking assets file.\\ External web pages ensure a user gesture after login and logout, so that responses return to the app reliably.\\ After login you can test all lifecycle operations, including token refresh, expiry events and logout. Further Information See the API Journey - Client Side for further information on the app's behaviour. See blog posts for further details specific to the iOS app, starting in the Code Sample Overview. Deep Linking Registration Failures Some developers may","default_branch":null,"files":null,"tree":[],"storefront":"/r/gary-archer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gary-archer/oauth.mobilesample.ios/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}