{"id":15591226,"url":"https://github.com/julien-c/oauth2-example-auth-server","last_synced_at":"2025-07-22T09:09:27.733Z","repository":{"id":7022608,"uuid":"8294552","full_name":"julien-c/oauth2-example-auth-server","owner":"julien-c","description":"An example OAuth 2.0 auth server","archived":false,"fork":false,"pushed_at":"2013-02-19T09:59:25.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":32,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T09:52:48.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"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/julien-c.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}},"created_at":"2013-02-19T16:44:04.000Z","updated_at":"2017-05-15T05:40:22.000Z","dependencies_parsed_at":"2022-09-11T23:21:11.701Z","dependency_job_id":null,"html_url":"https://github.com/julien-c/oauth2-example-auth-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/julien-c/oauth2-example-auth-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julien-c%2Foauth2-example-auth-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julien-c%2Foauth2-example-auth-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julien-c%2Foauth2-example-auth-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julien-c%2Foauth2-example-auth-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julien-c","download_url":"https://codeload.github.com/julien-c/oauth2-example-auth-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julien-c%2Foauth2-example-auth-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265218750,"owners_count":23729528,"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","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-10-02T23:40:40.119Z","updated_at":"2025-07-13T23:08:52.656Z","avatar_url":"https://github.com/julien-c.png","language":"PHP","readme":"# OAuth 2.0 Example Auth Server\n\n## Setup\n\n1. Setup a MySQL database and edit db.php with the connection settings\n2. Run the following commands on the database:\n\t1. `INSERT INTO oauth_clients (id, secret, name, auto_approve) VALUE ('I6Lh72kTItE6y29Ig607N74M7i21oyTo', 'dswREHV2YJjF7iL5Zr5ETEFBwGwDQYjQ', 'Hello World App', 0);`\n\t2. `INSERT INTO oauth_client_endpoints (client_id, redirect_uri) VALUE ('I6Lh72kTItE6y29Ig607N74M7i21oyTo', 'http://client.dev/signin/redirect');`\n\t3. `INSERT INTO oauth_scopes (scope, NAME, description) VALUES ('user', 'User details', 'Retrieves a user\\'s details’);`\n3. Install [Composer](http://getcomposer.org/) and run `composer install`\n\nThe source code is fully documented and should be a good starting base for your own OAuth auth server.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulien-c%2Foauth2-example-auth-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulien-c%2Foauth2-example-auth-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulien-c%2Foauth2-example-auth-server/lists"}