{"id":20727899,"url":"https://github.com/juanifioren/meteor-oidc-client","last_synced_at":"2025-07-19T16:02:25.574Z","repository":{"id":87577318,"uuid":"59308363","full_name":"juanifioren/meteor-oidc-client","owner":"juanifioren","description":"Generic OpenID Connect RP for Meteor applications","archived":false,"fork":false,"pushed_at":"2016-05-23T20:00:55.000Z","size":7,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T02:51:06.763Z","etag":null,"topics":["authentication","login","meteor","oauth2","openid-connect"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/juanifioren.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":"2016-05-20T16:10:52.000Z","updated_at":"2023-06-20T19:08:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea9b6d1c-b304-415d-aaa9-0146d2c6d0eb","html_url":"https://github.com/juanifioren/meteor-oidc-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanifioren%2Fmeteor-oidc-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanifioren%2Fmeteor-oidc-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanifioren%2Fmeteor-oidc-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanifioren%2Fmeteor-oidc-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juanifioren","download_url":"https://codeload.github.com/juanifioren/meteor-oidc-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250499925,"owners_count":21440716,"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":["authentication","login","meteor","oauth2","openid-connect"],"created_at":"2024-11-17T04:34:40.910Z","updated_at":"2025-04-23T19:33:59.984Z","avatar_url":"https://github.com/juanifioren.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meteor OpenID Connect Client\r\n\r\nGeneric OpenID Connect relying party implementation for Meteor applications.\r\n\r\n## Usage\r\n\r\n### Setting Up\r\n\r\n```\r\n$ meteor add juanifioren:oidc-client\r\n```\r\n\r\nAdd your info provided by your OIDC Provider on a `settings.json` file.\r\n\r\n```\r\n{\r\n    \"oidc\": {\r\n        \"authEndpoint\": \"http://localhost:8000/authorize/\",\r\n        \"tokenEndpoint\": \"http://localhost:8000/token/\",\r\n        \"userinfoEndpoint\": \"http://localhost:8000/userinfo/\",\r\n        \"clientId\": \"399291\",\r\n        \"secret\": \"a88720fb53545f129f4530aa6abd58cf\"\r\n    }\r\n}\r\n```\r\n\r\nManage configuration with the `service-configuration` package. Then create a file on server-side.\r\n\r\n```\r\nServiceConfiguration.configurations.upsert({ service: \"oidc\" }, {\r\n    $set: {\r\n        authEndpoint: Meteor.settings.oidc.authEndpoint,\r\n        tokenEndpoint: Meteor.settings.oidc.tokenEndpoint,\r\n        userinfoEndpoint: Meteor.settings.oidc.userinfoEndpoint,\r\n        clientId: Meteor.settings.oidc.clientId,\r\n        loginStyle: \"popup\",\r\n        secret: Meteor.settings.oidc.secret\r\n    }\r\n});\r\n```\r\n\r\nRun your app.\r\n\r\n```\r\n$ meteor run --settings=settings.json\r\n```\r\n\r\n### Launching Popup\r\n\r\nSomewhere on a client-side script.\r\n\r\n```\r\nMeteor.loginWithOIDC({\r\n    requestPermissions: ['email']\r\n}, function (err) {\r\n    if (err)\r\n        console.log(err);\r\n});\r\n```\r\n\r\n## Contributing\r\n\r\nI love contributions, so please feel free to fix bugs, improve things, provide documentation. Just send me a pull request.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuanifioren%2Fmeteor-oidc-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuanifioren%2Fmeteor-oidc-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuanifioren%2Fmeteor-oidc-client/lists"}