Title: [Bug Report]: OIDC autodiscovery fails in Azure environment · Issue #3206 · BookStackApp/BookStack · GitHub
Open Graph Title: [Bug Report]: OIDC autodiscovery fails in Azure environment · Issue #3206 · BookStackApp/BookStack
X Title: [Bug Report]: OIDC autodiscovery fails in Azure environment · Issue #3206 · BookStackApp/BookStack
Description: Describe the Bug Microsoft can provide the following format at its jwks_uri: { "kty": "RSA", "use": "sig", "kid": "abcabcabc", "x5t": "abcabcabc", "n": "xxxxyyyyyzzzz", "e": "AQAB", "x5c": [ "aaaabbbbcccc" ], "issuer": "https://login.mic...
Open Graph Description: Describe the Bug Microsoft can provide the following format at its jwks_uri: { "kty": "RSA", "use": "sig", "kid": "abcabcabc", "x5t": "abcabcabc", "n": "xxxxyyyyyzzzz", "e": "AQAB", "x5c": [ "aaaab...
X Description: Describe the Bug Microsoft can provide the following format at its jwks_uri: { "kty": "RSA", "use": "sig", "kid": "abcabcabc", "x5t&...
Opengraph URL: https://github.com/BookStackApp/BookStack/issues/3206
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug Report]: OIDC autodiscovery fails in Azure environment","articleBody":"### Describe the Bug\r\n\r\nMicrosoft can provide the following format at its jwks_uri:\r\n\r\n```json\r\n{\r\n \"kty\": \"RSA\",\r\n \"use\": \"sig\",\r\n \"kid\": \"abcabcabc\",\r\n \"x5t\": \"abcabcabc\",\r\n \"n\": \"xxxxyyyyyzzzz\",\r\n \"e\": \"AQAB\",\r\n \"x5c\": [\r\n \"aaaabbbbcccc\"\r\n ],\r\n \"issuer\": \"https://login.microsoftonline.com/xxx-xxx-xxx/v2.0\"\r\n }\r\n```\r\n\r\nWe have the following logic to filter keys to the compatible ones:\r\n\r\nhttps://github.com/BookStackApp/BookStack/blob/6e325de226fd930dae481a13ba80e002c6214a74/app/Auth/Access/Oidc/OidcProviderSettings.php#L166-L168\r\n\r\nThis fails due to the `alg` property being non-existent. \r\n\r\nCouple of things we need to do:\r\n- Check MS provided keys against the standard, support their format if we can identity.\r\n- Update our filtering to not hard fail on potentially non-assured properties (Relevant to the spec)","author":{"url":"https://github.com/ssddanbrown","@type":"Person","name":"ssddanbrown"},"datePublished":"2022-01-27T17:12:42Z","url":"https://github.com/BookStackApp/BookStack/issues/3206"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:26ad81e3-b11e-26fc-5f42-784eda3b1bd2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C94A:2C529F:3EB4C5:5A2348:6AFD80F6 |
| html-safe-nonce | a057fef9845ba7caa8d51011a8b76d9a330d1a9d32cbc2f409c7eeb2e9077c57 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTRBOjJDNTI5RjozRUI0QzU6NUEyMzQ4OjZBRkQ4MEY2IiwidmlzaXRvcl9pZCI6IjIxNTIxMDk2OTQ2NDUwMTA2NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f3f37306d78e8e931fb4705c4e1ca2737301fa7b36716cb75fab56d162bc0157 |
| hovercard-subject-tag | issue:1116536304 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/BookStackApp/BookStack/3206/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8a33504798798b0f54ba414bd12454c029d99ec948582c15d2b3ae9797233203/BookStackApp/BookStack/issues/3206 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a33504798798b0f54ba414bd12454c029d99ec948582c15d2b3ae9797233203/BookStackApp/BookStack/issues/3206 |
| og:image:alt | Describe the Bug Microsoft can provide the following format at its jwks_uri: { "kty": "RSA", "use": "sig", "kid": "abcabcabc", "x5t": "abcabcabc", "n": "xxxxyyyyyzzzz", "e": "AQAB", "x5c": [ "aaaab... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ssddanbrown |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| turbo-cache-control | no-preview |
| go-import | github.com/BookStackApp/BookStack git https://github.com/BookStackApp/BookStack.git |
| octolytics-dimension-user_id | 20912696 |
| octolytics-dimension-user_login | BookStackApp |
| octolytics-dimension-repository_id | 41589337 |
| octolytics-dimension-repository_nwo | BookStackApp/BookStack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 41589337 |
| octolytics-dimension-repository_network_root_nwo | BookStackApp/BookStack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width