{"id":20880194,"url":"https://github.com/samkhawase/authzero","last_synced_at":"2025-12-25T08:18:27.398Z","repository":{"id":141909495,"uuid":"243535451","full_name":"samkhawase/AuthZero","owner":"samkhawase","description":"AuthZero integration with Postgrest","archived":false,"fork":false,"pushed_at":"2020-06-09T20:47:21.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T16:49:23.464Z","etag":null,"topics":["auth","auth0","postgresql","postgrest","rest-api","sql"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samkhawase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-02-27T14:11:24.000Z","updated_at":"2024-11-14T12:24:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f4de308-4da9-42a0-8a0f-bfed91634c88","html_url":"https://github.com/samkhawase/AuthZero","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samkhawase/AuthZero","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samkhawase%2FAuthZero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samkhawase%2FAuthZero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samkhawase%2FAuthZero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samkhawase%2FAuthZero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samkhawase","download_url":"https://codeload.github.com/samkhawase/AuthZero/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samkhawase%2FAuthZero/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28024525,"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-12-25T02:00:05.988Z","response_time":58,"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":["auth","auth0","postgresql","postgrest","rest-api","sql"],"created_at":"2024-11-18T07:19:24.449Z","updated_at":"2025-12-25T08:18:27.374Z","avatar_url":"https://github.com/samkhawase.png","language":"Swift","readme":"# AuthZero\nAuthZero integration with Postgrest. \n\nThis is part of the [blog series](https://samkhawase.com/blog/postgrest) about PostgREST API tutorial, and it's integration with Auth0. \n\n## Getting Started\n\nHere are the steps to get started with the project on your local machine:\n1. Clone the git repositiory\n2. Run `carthage update --platform iOS --cache-builds --no-use-binaries` to fetch the dependencies.\n3. Run the project via Xcode.\n\n### Prerequisites\n\nWhat things you need to install the software and how to install them\n\n1. Mac OS X\n2. Xcode 9\n3. [Carthage](https://github.com/Carthage/Carthage) \n4. Optional: [xcpretty](https://github.com/supermarin/xcpretty)\n\n## Auth0 Integration\nAdd the _Client ID_ and _Domain name_ in the `Auth0.plist` of the iOS app. You can find these values in the Auth0 Dashboard.\n\n## Building the app\n\nTo build the app, enter the command on the command line.\n```\nxcodebuild -scheme 'AuthZero' \\                                                                                                              3744ms  Wed Mar 18 16:10:48 2020\n    -sdk iphonesimulator \\\n    -configuration Debug \\\n    -destination 'platform=iOS Simulator,name=iPhone 8,OS=latest' \\\n    clean build | xcpretty\n```\n\nThe output will be similar to:\n```\n▸ Clean Succeeded\n▸ Compiling ViewController.swift\n\n⚠️  ~/AuthZero/AuthZero/ViewController.swift:51:17: immutable value 'roles' was never used; consider replacing with '_' or removing it\n            let roles = jwt.claim(name: \"https://postgrest-demo.de/role\").array\n                ^~~~~\n▸ Compiling AppDelegate.swift\n▸ Compiling SceneDelegate.swift\n▸ Linking AuthZero\n▸ Copying Auth0.plist\n▸ Compiling Main.storyboard\n▸ Compiling LaunchScreen.storyboard\n▸ Processing Info.plist\n▸ Running script 'Run Script'\n▸ Touching AuthZero.app (in target 'AuthZero' from project 'AuthZero')\n▸ Build Succeeded\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamkhawase%2Fauthzero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamkhawase%2Fauthzero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamkhawase%2Fauthzero/lists"}