{"id":22112377,"url":"https://github.com/lukeredpath/oauth-pkce-ios-client","last_synced_at":"2025-08-18T07:15:22.589Z","repository":{"id":66018059,"uuid":"280191776","full_name":"lukeredpath/oauth-pkce-ios-client","owner":"lukeredpath","description":"A small example of how to use OAuth in a SwiftUI app with PKCE","archived":false,"fork":false,"pushed_at":"2025-01-29T18:27:49.000Z","size":17,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T11:30:00.924Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lukeredpath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-07-16T15:37:10.000Z","updated_at":"2025-04-01T00:55:28.000Z","dependencies_parsed_at":"2025-07-25T07:33:02.669Z","dependency_job_id":"9d847347-5431-4218-8607-3acb50ca602d","html_url":"https://github.com/lukeredpath/oauth-pkce-ios-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lukeredpath/oauth-pkce-ios-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukeredpath%2Foauth-pkce-ios-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukeredpath%2Foauth-pkce-ios-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukeredpath%2Foauth-pkce-ios-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukeredpath%2Foauth-pkce-ios-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukeredpath","download_url":"https://codeload.github.com/lukeredpath/oauth-pkce-ios-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukeredpath%2Foauth-pkce-ios-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270957839,"owners_count":24675251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-01T10:57:45.110Z","updated_at":"2025-08-18T07:15:22.580Z","avatar_url":"https://github.com/lukeredpath.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iOS OAuth with PKCE example client\n\nThis is a very small SwiftUI app that demonstrates how to authenticate using OAuth using the authorization code grant with PKCE.\n\nIt is designed to work with the [proof-of-concept PKCE proxy server](https://github.com/lukeredpath/oauth-pkce-proxy).\n\nThe example app does not use any third-party libraries. It:\n\n* Uses `ASWebAuthenticationSession` from the `AuthenticationServices` framework to allow the user to authenticate with a third-party service via the PKCE proxy and obtain the authorization grant code.\n* Uses `CryptoKit` to generate the PKCE code challenge.\n* Makes a simple POST request using `URLSession` to exchange the authentication code for an access token, again via the PKCE proxy.\n\nThis is not production-ready code and is simply a proof of concept.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukeredpath%2Foauth-pkce-ios-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukeredpath%2Foauth-pkce-ios-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukeredpath%2Foauth-pkce-ios-client/lists"}