{"id":29193069,"url":"https://github.com/friendsofflarum/passport","last_synced_at":"2026-01-11T15:05:51.652Z","repository":{"id":19492551,"uuid":"85352637","full_name":"FriendsOfFlarum/passport","owner":"FriendsOfFlarum","description":"The Laravel passport compatible oauth extension for your Flarum forum.","archived":false,"fork":false,"pushed_at":"2024-10-04T09:20:01.000Z","size":323,"stargazers_count":29,"open_issues_count":7,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-29T11:26:16.512Z","etag":null,"topics":["flagrow","flarum","flarum-extension","laravel-passport","sso"],"latest_commit_sha":null,"homepage":"https://discuss.flarum.org/d/5203","language":"PHP","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/FriendsOfFlarum.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"fof"}},"created_at":"2017-03-17T20:37:19.000Z","updated_at":"2025-03-15T01:20:23.000Z","dependencies_parsed_at":"2023-07-14T23:08:50.390Z","dependency_job_id":"b74d1208-95a5-426a-9665-3a5de83337a3","html_url":"https://github.com/FriendsOfFlarum/passport","commit_stats":{"total_commits":38,"total_committers":8,"mean_commits":4.75,"dds":0.7105263157894737,"last_synced_commit":"ae442f5d1d4f8dcf368ce1a8c0864868c0c83718"},"previous_names":["flagrow/passport"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/FriendsOfFlarum/passport","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfFlarum%2Fpassport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfFlarum%2Fpassport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfFlarum%2Fpassport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfFlarum%2Fpassport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FriendsOfFlarum","download_url":"https://codeload.github.com/FriendsOfFlarum/passport/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfFlarum%2Fpassport/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263061405,"owners_count":23407606,"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":["flagrow","flarum","flarum-extension","laravel-passport","sso"],"created_at":"2025-07-02T02:07:26.826Z","updated_at":"2026-01-11T15:05:51.642Z","avatar_url":"https://github.com/FriendsOfFlarum.png","language":"PHP","funding_links":["https://opencollective.com/fof"],"categories":[],"sub_categories":[],"readme":"# Passport by FriendsOfFlarum\n\n[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/FriendsOrFlarum/passport/blob/master/LICENSE.md) [![Latest Stable Version](https://img.shields.io/packagist/v/fof/passport.svg)](https://packagist.org/packages/fof/passport) [![Total Downloads](https://img.shields.io/packagist/dt/fof/passport.svg)](https://packagist.org/packages/fof/passport)\n\nThe [Laravel Passport](https://laravel.com/docs/passport) compatible oauth extension.\n\n## Installation\n\n```bash\ncomposer require fof/passport:*\n```\n\n## Updating from Flagrow\n\nThis extension replaces [Flagrow Passport](https://packagist.org/packages/flagrow/passport).\n\nTo upgrade from the old extension to the new one:\n\n- **Backup your data!**\n\n- Disable the Passport extension in the admin panel.\n\n- Run:\n\n```sh\ncomposer require fof/passport:*\n```\n\nComposer should let you know that `flagrow/passport` has been automatically removed.\n\n- Enable the new extension in the admin panel.\n\n- Your existing settings will be migrated to FoF Passport automatically.\n\n- You should be good to go! All URLs stay the same.\n\n## Configuration\n\nIn the extension settings, you have to fill the following data:\n\nSetting | Example | Description\n--- | --- | ---\nOAuth authorization url | `https://example.com/oauth/authorize` | `\u003cyour laravel install\u003e/oauth/authorize`\nOAuth token url | `https://example.com/oauth/token` | `\u003cyour laravel install\u003e/oauth/token`\nApi URL providing user details when authenticated | `https://example.com/api/user` | Default Laravel installs have an `/api/user` route, otherwise point to a route returning the current user data (protected by the `passport` driver)\nOAuth application id | `1` | The integer *Client ID* you've made in the Laravel app or via `artisan passport:client`\nOAuth application secret | `abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJ` | The *Client secret* provided by Laravel once you created the OAuth client\nOAuth scopes to request | | Optional additional scopes to request during authorization, perhaps you want to protect the user url with a scope or add additional functionality\nLabel for login button | Login with Example | Label to place on the login button\nIcon for login button | `far fa-id-card` | FontAwesome icon to place on the login button. [List of available icons](https://fontawesome.com/icons?m=free)\n\n**Hint:** When creating the OAuth client in your Laravel app, don't forget to set the `redirect` value to `\u003cyour flarum install\u003e/auth/passport` or you might encounter `invalid_client` errors.\n\n## Links\n\n- [Flarum Discuss post](https://discuss.flarum.org/d/5203)\n- [Source code on GitHub](https://github.com/FriendsOfFlarum/passport)\n- [Report an issue](https://github.com/FriendsOfFlarum/passport/issues)\n- [Download via Packagist](https://packagist.org/packages/fof/passport)\n\nAn extension by [FriendsOfFlarum](https://github.com/FriendsOfFlarum)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendsofflarum%2Fpassport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriendsofflarum%2Fpassport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendsofflarum%2Fpassport/lists"}