René's URL Explorer Experiment


Title: NationalClouds are wrongly prefixed · Issue #917 · microsoftgraph/msgraph-sdk-python-core · GitHub

Open Graph Title: NationalClouds are wrongly prefixed · Issue #917 · microsoftgraph/msgraph-sdk-python-core

X Title: NationalClouds are wrongly prefixed · Issue #917 · microsoftgraph/msgraph-sdk-python-core

Description: Describe the bug NationalClouds is defined in msgraph-sdk-python-core/src/msgraph_core/_enums.py Lines 33 to 43 in e54022a class NationalClouds(str, Enum): """Enumerated list of supported sovereign clouds""" China = 'https://microsoftgra...

Open Graph Description: Describe the bug NationalClouds is defined in msgraph-sdk-python-core/src/msgraph_core/_enums.py Lines 33 to 43 in e54022a class NationalClouds(str, Enum): """Enumerated list of supported sovereign...

X Description: Describe the bug NationalClouds is defined in msgraph-sdk-python-core/src/msgraph_core/_enums.py Lines 33 to 43 in e54022a class NationalClouds(str, Enum): """Enumerated list of supp...

Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-python-core/issues/917

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NationalClouds are wrongly prefixed","articleBody":"### Describe the bug\n\n`NationalClouds` is defined in https://github.com/microsoftgraph/msgraph-sdk-python-core/blob/e54022acf0b0779ad471d324dae460175408d2c3/src/msgraph_core/_enums.py#L33-L43 where all values are prefixed by `https`,\n\nhowever, since we pass them as allowed hosts to the `AzureIdentityAuthenticationProvider` by default in https://github.com/microsoftgraph/msgraph-sdk-python-core/blob/e54022acf0b0779ad471d324dae460175408d2c3/src/msgraph_core/authentication/azure_identity_authentication_provider.py#L22\n\nthey are fed to the `AllowedHostsValidator` which in https://github.com/microsoft/kiota-python/blob/b23edcbf268efdb81d14ef59cecc6c9565288248/packages/abstractions/kiota_abstractions/authentication/allowed_hosts_validator.py#L20 raises an exception if they are prefixed.\n\n### Expected behavior\n\nThe validator should either strip the urls or the enum should be updated.\n\n### How to reproduce\n\nInstantiate an `AzureIdentityAuthenticationProvider` with default allowed hosts.\n\n### SDK Version\n\n1.3.3\n\n### Latest version known to work for scenario above?\n\n_No response_\n\n### Known Workarounds\n\nPass allowed_hosts manually.\n\n### Debug output\n\n_No response_\n\n### Configuration\n\n_No response_\n\n### Other information\n\n_No response_","author":{"url":"https://github.com/Acurisu","@type":"Person","name":"Acurisu"},"datePublished":"2025-05-13T20:10:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/917/msgraph-sdk-python-core/issues/917"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4d75fe72-463a-3005-0976-f6ad0297abda
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAE5A:557D6:9FD529:D4C2B1:6969C3EC
html-safe-nonce959506ac655090d791d6de33352f2f6dd77bcf4f60bc9495df1aa8a978d8e33c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTVBOjU1N0Q2OjlGRDUyOTpENEMyQjE6Njk2OUMzRUMiLCJ2aXNpdG9yX2lkIjoiMTgyNjk4NzMxNDYyNTc1ODE4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9eb7224881cc0d280c961377860a222e7aacb04ade21235550c175f31d907826
hovercard-subject-tagissue:3061118561
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoftgraph/msgraph-sdk-python-core/917/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2c47a4b94c86df3ed8c90886f103ce9dcaba6a64e1cad670ef796391c8676386/microsoftgraph/msgraph-sdk-python-core/issues/917
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2c47a4b94c86df3ed8c90886f103ce9dcaba6a64e1cad670ef796391c8676386/microsoftgraph/msgraph-sdk-python-core/issues/917
og:image:altDescribe the bug NationalClouds is defined in msgraph-sdk-python-core/src/msgraph_core/_enums.py Lines 33 to 43 in e54022a class NationalClouds(str, Enum): """Enumerated list of supported sovereign...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAcurisu
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
turbo-cache-controlno-preview
go-importgithub.com/microsoftgraph/msgraph-sdk-python-core git https://github.com/microsoftgraph/msgraph-sdk-python-core.git
octolytics-dimension-user_id17304259
octolytics-dimension-user_loginmicrosoftgraph
octolytics-dimension-repository_id242847794
octolytics-dimension-repository_nwomicrosoftgraph/msgraph-sdk-python-core
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id242847794
octolytics-dimension-repository_network_root_nwomicrosoftgraph/msgraph-sdk-python-core
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoftgraph/msgraph-sdk-python-core/issues/917#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-python-core%2Fissues%2F917
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-python-core%2Fissues%2F917
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoftgraph%2Fmsgraph-sdk-python-core
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-python-core/issues/917
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-python-core/issues/917
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-python-core/issues/917
microsoftgraph https://github.com/microsoftgraph
msgraph-sdk-python-corehttps://github.com/microsoftgraph/msgraph-sdk-python-core
Notifications https://github.com/login?return_to=%2Fmicrosoftgraph%2Fmsgraph-sdk-python-core
Fork 45 https://github.com/login?return_to=%2Fmicrosoftgraph%2Fmsgraph-sdk-python-core
Star 277 https://github.com/login?return_to=%2Fmicrosoftgraph%2Fmsgraph-sdk-python-core
Code https://github.com/microsoftgraph/msgraph-sdk-python-core
Issues 15 https://github.com/microsoftgraph/msgraph-sdk-python-core/issues
Pull requests 16 https://github.com/microsoftgraph/msgraph-sdk-python-core/pulls
Discussions https://github.com/microsoftgraph/msgraph-sdk-python-core/discussions
Actions https://github.com/microsoftgraph/msgraph-sdk-python-core/actions
Projects 0 https://github.com/microsoftgraph/msgraph-sdk-python-core/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/microsoftgraph/msgraph-sdk-python-core/security
Please reload this pagehttps://github.com/microsoftgraph/msgraph-sdk-python-core/issues/917
Insights https://github.com/microsoftgraph/msgraph-sdk-python-core/pulse
Code https://github.com/microsoftgraph/msgraph-sdk-python-core
Issues https://github.com/microsoftgraph/msgraph-sdk-python-core/issues
Pull requests https://github.com/microsoftgraph/msgraph-sdk-python-core/pulls
Discussions https://github.com/microsoftgraph/msgraph-sdk-python-core/discussions
Actions https://github.com/microsoftgraph/msgraph-sdk-python-core/actions
Projects https://github.com/microsoftgraph/msgraph-sdk-python-core/projects
Security https://github.com/microsoftgraph/msgraph-sdk-python-core/security
Insights https://github.com/microsoftgraph/msgraph-sdk-python-core/pulse
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-python-core/issues/917
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-python-core/issues/917
NationalClouds are wrongly prefixedhttps://github.com/microsoftgraph/msgraph-sdk-python-core/issues/917#top
status:waiting-for-triageAn issue that is yet to be reviewed or assignedhttps://github.com/microsoftgraph/msgraph-sdk-python-core/issues?q=state%3Aopen%20label%3A%22status%3Awaiting-for-triage%22
type:bugA broken experiencehttps://github.com/microsoftgraph/msgraph-sdk-python-core/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
https://github.com/Acurisu
https://github.com/Acurisu
Acurisuhttps://github.com/Acurisu
on May 13, 2025https://github.com/microsoftgraph/msgraph-sdk-python-core/issues/917#issue-3061118561
msgraph-sdk-python-core/src/msgraph_core/_enums.pyhttps://github.com/microsoftgraph/msgraph-sdk-python-core/blob/e54022acf0b0779ad471d324dae460175408d2c3/src/msgraph_core/_enums.py#L33-L43
e54022ahttps://github.com/microsoftgraph/msgraph-sdk-python-core/commit/e54022acf0b0779ad471d324dae460175408d2c3
msgraph-sdk-python-core/src/msgraph_core/authentication/azure_identity_authentication_provider.pyhttps://github.com/microsoftgraph/msgraph-sdk-python-core/blob/e54022acf0b0779ad471d324dae460175408d2c3/src/msgraph_core/authentication/azure_identity_authentication_provider.py#L22
e54022ahttps://github.com/microsoftgraph/msgraph-sdk-python-core/commit/e54022acf0b0779ad471d324dae460175408d2c3
https://github.com/microsoft/kiota-python/blob/b23edcbf268efdb81d14ef59cecc6c9565288248/packages/abstractions/kiota_abstractions/authentication/allowed_hosts_validator.py#L20https://github.com/microsoft/kiota-python/blob/b23edcbf268efdb81d14ef59cecc6c9565288248/packages/abstractions/kiota_abstractions/authentication/allowed_hosts_validator.py#L20
status:waiting-for-triageAn issue that is yet to be reviewed or assignedhttps://github.com/microsoftgraph/msgraph-sdk-python-core/issues?q=state%3Aopen%20label%3A%22status%3Awaiting-for-triage%22
type:bugA broken experiencehttps://github.com/microsoftgraph/msgraph-sdk-python-core/issues?q=state%3Aopen%20label%3A%22type%3Abug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.