{"id":37211303,"url":"https://github.com/alexandervantrijffel/msidal","last_synced_at":"2026-01-15T00:03:45.116Z","repository":{"id":46617597,"uuid":"413007157","full_name":"alexandervantrijffel/msidal","owner":"alexandervantrijffel","description":"Microsoft Identity Authentication Library For Go (MSAL)","archived":false,"fork":false,"pushed_at":"2022-06-26T09:56:37.000Z","size":25,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-21T13:05:05.009Z","etag":null,"topics":["jwt","ms-identity","msal","msal-go"],"latest_commit_sha":null,"homepage":"","language":"Go","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/alexandervantrijffel.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}},"created_at":"2021-10-03T07:27:24.000Z","updated_at":"2021-10-03T20:34:42.000Z","dependencies_parsed_at":"2022-07-22T05:18:55.133Z","dependency_job_id":null,"html_url":"https://github.com/alexandervantrijffel/msidal","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/alexandervantrijffel/msidal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandervantrijffel%2Fmsidal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandervantrijffel%2Fmsidal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandervantrijffel%2Fmsidal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandervantrijffel%2Fmsidal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexandervantrijffel","download_url":"https://codeload.github.com/alexandervantrijffel/msidal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandervantrijffel%2Fmsidal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28439609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["jwt","ms-identity","msal","msal-go"],"created_at":"2026-01-15T00:03:44.496Z","updated_at":"2026-01-15T00:03:45.111Z","avatar_url":"https://github.com/alexandervantrijffel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# msidal\n\nMicrosoft Identity Authentication Library For Go\n\n### Installation\n\nInstall the package with the following command.\n\n```\ngo get github.com/alexandervantrijffel/msidal\n```\n\n#### Usage\n\nExample calling code for verifying an MSAL based JWT bearer token. This verifies the audience, signature and expiration validity of the token.\n\n```\nimport (\n    \"github.com/alexandervantrijffel/msidal\"\n)\n\nsettings := AzureSettings{\n  TenantID:                \"Directory (tenant) ID\",\n  ClientID:                \"Application (client) ID\",\n  ActiveDirectoryEndpoint: \"https://login.microsoftonline.com/\",\n}\ntoken, err := msidal.VerifyToken(\u0026settings, \"Bearer ey......\")\n```\n\nExample for parsing claims from the returned oidc Token:\n\n```\nvar claims struct {\n  Name     string   `json:\"name\"`\n  UserName string   `json:\"preferred_username\"`\n}\ntoken.Claims(\u0026claims)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandervantrijffel%2Fmsidal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandervantrijffel%2Fmsidal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandervantrijffel%2Fmsidal/lists"}