Title: Ability to add a hostname to the authentication provider · Issue #483 · microsoftgraph/msgraph-sdk-java-core · GitHub
Open Graph Title: Ability to add a hostname to the authentication provider · Issue #483 · microsoftgraph/msgraph-sdk-java-core
X Title: Ability to add a hostname to the authentication provider · Issue #483 · microsoftgraph/msgraph-sdk-java-core
Description: As part of the work on testing the support for HTTP/2 through the SDK we have identified that the list of hostnames is hardcoded in the current Java SDK. Meaning that customizing the client creation will not be enough to call the test en...
Open Graph Description: As part of the work on testing the support for HTTP/2 through the SDK we have identified that the list of hostnames is hardcoded in the current Java SDK. Meaning that customizing the client creatio...
X Description: As part of the work on testing the support for HTTP/2 through the SDK we have identified that the list of hostnames is hardcoded in the current Java SDK. Meaning that customizing the client creatio...
Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/483
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ability to add a hostname to the authentication provider","articleBody":"As part of the work on testing the support for HTTP/2 through the SDK we have identified that the [list of hostnames](https://github.com/microsoftgraph/msgraph-sdk-java-core/blob/21b1d75b5f10496a6916a33a4ead8d8425075988/src/main/java/com/microsoft/graph/authentication/BaseAuthenticationProvider.java#L14) is hardcoded in the current Java SDK.\r\nMeaning that customizing the client creation will not be enough to call the test endpoint as it doesn't belong to any of the hardcoded hostnames.\r\n\r\nOn Go SDK we can do that by adding the following:\r\n```golang\r\nNewAzureIdentityAuthenticationProviderWithScopesAndValidHosts(yourCrendential, yourScopes, []string{\"microsoftgraphvalidation.ags.msidentity.com\"})\r\n```\r\n\r\nWe should have a similar experience in providing ways for customers to use Java SDK when testing their applications within HTTP/2 by adding the capability of changing the hostname.","author":{"url":"https://github.com/maisarissi","@type":"Person","name":"maisarissi"},"datePublished":"2022-04-19T19:18:17Z","url":"https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/483"}
| 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:885b8598-2316-45c9-c72a-4f6f397c842e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D63E:22C2DF:38D7FF:4C4376:6B049E64 |
| html-safe-nonce | de8b38dc25c90b5e014138c3efc2e9bd2a9814636e0938267a29f06b00ae8eae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjNFOjIyQzJERjozOEQ3RkY6NEM0Mzc2OjZCMDQ5RTY0IiwidmlzaXRvcl9pZCI6IjE2OTE2OTE4NjMzOTQwMDA0ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bcae5091d6e273d6f20db1d0c568068ac459df95c9406313551e750de30a228d |
| hovercard-subject-tag | issue:1208765599 |
| 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/microsoftgraph/msgraph-sdk-java-core/483/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8e0dcef2c01eaede758fc7386815e3d0fb2a156605995c1b1ec2c8bcb64bedb0/microsoftgraph/msgraph-sdk-java-core/issues/483 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8e0dcef2c01eaede758fc7386815e3d0fb2a156605995c1b1ec2c8bcb64bedb0/microsoftgraph/msgraph-sdk-java-core/issues/483 |
| og:image:alt | As part of the work on testing the support for HTTP/2 through the SDK we have identified that the list of hostnames is hardcoded in the current Java SDK. Meaning that customizing the client creatio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maisarissi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoftgraph/msgraph-sdk-java-core git https://github.com/microsoftgraph/msgraph-sdk-java-core.git |
| octolytics-dimension-user_id | 17304259 |
| octolytics-dimension-user_login | microsoftgraph |
| octolytics-dimension-repository_id | 154607328 |
| octolytics-dimension-repository_nwo | microsoftgraph/msgraph-sdk-java-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 154607328 |
| octolytics-dimension-repository_network_root_nwo | microsoftgraph/msgraph-sdk-java-core |
| 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 | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width