{"id":20215593,"url":"https://github.com/casdoor/casdoor-ios-example","last_synced_at":"2026-06-08T11:01:26.048Z","repository":{"id":104353849,"uuid":"506294177","full_name":"casdoor/casdoor-ios-example","owner":"casdoor","description":"iOS app example to integrate with Casdoor via casdoor-ios-sdk","archived":false,"fork":false,"pushed_at":"2022-08-16T15:38:27.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T11:19:44.030Z","etag":null,"topics":["app","auth","authn","casdoor","iam","ios","oauth","oidc","sso","swift"],"latest_commit_sha":null,"homepage":"https://github.com/casdoor/casdoor-ios-sdk","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/casdoor.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}},"created_at":"2022-06-22T15:00:15.000Z","updated_at":"2023-09-16T10:19:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7c20bed-4003-411a-9f12-42ac0481746d","html_url":"https://github.com/casdoor/casdoor-ios-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/casdoor/casdoor-ios-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fcasdoor-ios-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fcasdoor-ios-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fcasdoor-ios-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fcasdoor-ios-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casdoor","download_url":"https://codeload.github.com/casdoor/casdoor-ios-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casdoor%2Fcasdoor-ios-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34059157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":["app","auth","authn","casdoor","iam","ios","oauth","oidc","sso","swift"],"created_at":"2024-11-14T06:23:29.989Z","updated_at":"2026-06-08T11:01:26.031Z","avatar_url":"https://github.com/casdoor.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# casdoor-ios-example\n\n## Init example\n\nYou need to init requires 5 parameters, which are all string type:\n\n| Name         | Description                                                                                             | File                  |\n| ------------ | ------------------------------------------------------------------------------------------------------- | --------------------- |\n| endpoint     | Your Casdoor server host/domain                                                                         | `ViewController.swift` |\n| clientID     | The Client ID of your Casdoor application                                                               | `ViewController.swift` |\n| organizationName| The organization name of your Casdoor application                                                    | `ViewController.swift` |\n| redirectUri  | The path of the callback URL for your Casdoor application, will be `casdoor://callback` if not provided | `ViewController.swift` |\n| appName | The name of your Casdoor application                                                                         | `ViewController.swift` |\n\nIf you don't set these parameters, this project will use the [Casdoor online demo](https://door.casdoor.com) as the defult Casdoor server and use the [Casnode](https://door.casdoor.com/applications/app-casnode) as the default Casdoor application.\n\n## How to run it\n\n### Xcode\n- download the code\n\n```bash\n git clone https://github.com/casdoor/casdoor-ios-example.git\n```\n\n- open the CasdoorDemo.xcodeproj\nif you change redirectUri,you should change the url schemes in the target CasdoorDemo\n\u003cimg width=\"1227\" alt=\"QQ20220816-230049@2x\" src=\"https://user-images.githubusercontent.com/31656300/184912660-e7c41c54-5afe-4eb6-82b7-d29ce08bb6ad.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasdoor%2Fcasdoor-ios-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasdoor%2Fcasdoor-ios-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasdoor%2Fcasdoor-ios-example/lists"}