{"id":14066054,"url":"https://github.com/molgenis/molgenis-r-auth","last_synced_at":"2025-06-25T18:31:38.351Z","repository":{"id":42992299,"uuid":"278697745","full_name":"molgenis/molgenis-r-auth","owner":"molgenis","description":"Discover and authenticate against an OpenID server from R","archived":false,"fork":false,"pushed_at":"2024-09-03T07:29:49.000Z","size":242,"stargazers_count":7,"open_issues_count":3,"forks_count":3,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-10T09:05:41.877Z","etag":null,"topics":["jwt"],"latest_commit_sha":null,"homepage":"https://molgenis.github.io/molgenis-r-auth/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/molgenis.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","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-07-10T17:45:08.000Z","updated_at":"2025-03-22T08:13:06.000Z","dependencies_parsed_at":"2024-06-14T15:04:12.142Z","dependency_job_id":"523a095c-d6e2-4b07-a62f-c5c591be82a3","html_url":"https://github.com/molgenis/molgenis-r-auth","commit_stats":{"total_commits":166,"total_committers":6,"mean_commits":"27.666666666666668","dds":0.5481927710843373,"last_synced_commit":"4ebed5f339b7e0788db0306f5110a9910fa237e0"},"previous_names":[],"tags_count":77,"template":false,"template_full_name":null,"purl":"pkg:github/molgenis/molgenis-r-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molgenis%2Fmolgenis-r-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molgenis%2Fmolgenis-r-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molgenis%2Fmolgenis-r-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molgenis%2Fmolgenis-r-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/molgenis","download_url":"https://codeload.github.com/molgenis/molgenis-r-auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molgenis%2Fmolgenis-r-auth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261930651,"owners_count":23231917,"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":["jwt"],"created_at":"2024-08-13T07:04:55.028Z","updated_at":"2025-06-25T18:31:38.294Z","avatar_url":"https://github.com/molgenis.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\ntitle: \"MolgenisAuth\"\ndate: \"`r Sys.Date()`\"\noutput: \n  github_document\n---\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n\u003c!-- badges: start --\u003e\n[![Travis build status](https://api.travis-ci.com/molgenis/molgenis-r-auth.svg?branch=master)](https://api.travis-ci.com/molgenis/molgenis-r-auth.svg?branch=master)\n[![CRAN status](https://www.r-pkg.org/badges/version/MolgenisAuth)](https://CRAN.R-project.org/package=MolgenisAuth)\n[![codecov](https://codecov.io/gh/molgenis/molgenis-r-auth/branch/master/graph/badge.svg?token=5Y96e0ULTk)](https://app.codecov.io/gh/molgenis/molgenis-r-auth)\n\u003c!-- badges: end --\u003e\n\nThe goal of MolgenisAuth is to discover and authenticate against an OpenID\nConnect server. We have tested it using [Fusion Auth](https://fusionauth.io/).\n\n## Installation\n\nYou can install the released version of MolgenisAuth from [CRAN](https://CRAN.R-project.org) with:\n\n```{r eval = FALSE} \ninstall.packages(\"MolgenisAuth\")\n```\n\nAnd the development version from [GitHub](https://github.com/) with:\n\n```{r eval=FALSE}\n# install.packages(\"devtools\")\ndevtools::install_github(\"molgenis/molgenis-r-auth\")\n```\n## Usage\n\nTo discover endpoint URLs on an OpenID Connect authentication server:\n\n```{r discover endpoint URLs}\nlibrary(MolgenisAuth)\nendpoint \u003c- discover(\"https://auth.molgenis.org\")\nendpoint\n```\n\nUsing this endpoint, you can then authenticate using the device flow.\nThis will open a browser window so you can authenticate with the\nauthentication server.\n```{r}\ncredentials \u003c- device_flow_auth(endpoint, \"b396233b-cdb2-449e-ac5c-a0d28b38f791\")\ncredentials$id_token\n```\n\n## Support\nWe appreciate help, so do not be shy and file pull-requests for things that are\nbroken or file a bug report.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolgenis%2Fmolgenis-r-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmolgenis%2Fmolgenis-r-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolgenis%2Fmolgenis-r-auth/lists"}