René's URL Explorer Experiment


Title: Custom Login token handling in auth_backend.ts · Issue #292 · angular/angularfire · GitHub

Open Graph Title: Custom Login token handling in auth_backend.ts · Issue #292 · angular/angularfire

X Title: Custom Login token handling in auth_backend.ts · Issue #292 · angular/angularfire

Description: export function authDataToAuthState(authData: firebase.User, providerData?: OAuthCredential): FirebaseAuthState { if (!authData) return null; let providerId; let { uid } = authData; let authState: FirebaseAuthState = { auth: authData, ui...

Open Graph Description: export function authDataToAuthState(authData: firebase.User, providerData?: OAuthCredential): FirebaseAuthState { if (!authData) return null; let providerId; let { uid } = authData; let authState: ...

X Description: export function authDataToAuthState(authData: firebase.User, providerData?: OAuthCredential): FirebaseAuthState { if (!authData) return null; let providerId; let { uid } = authData; let authState: ...

Opengraph URL: https://github.com/angular/angularfire/issues/292

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Custom Login token handling in auth_backend.ts","articleBody":"```\nexport function authDataToAuthState(authData: firebase.User, providerData?: OAuthCredential): FirebaseAuthState {\n  if (!authData) return null;\n  let providerId;\n  let { uid } = authData;\n  let authState: FirebaseAuthState = { auth: authData, uid, provider: null };\n  if (authData.isAnonymous) {\n    providerId = 'anonymous';\n    authState.provider = AuthProviders.Anonymous;\n    authState.anonymous = true;\n    return authState;\n  } else {\n    providerId = authData.providerData[0].providerId;\n  }\n```\n\nWhen the custom token is submitted to Firebase at one point we end up here. From what I noticed, the authData.providerData is an array of length 0 and hence \n`providerId = authData.providerData[0].providerId;`\n\nresults in undefined error.\n\nI do not know where the fix should be -\n\na) Should Firebase return providerData \u0026 providerId set to \"custom\" as expected by AngularFire2 ?\n\nor\n\nb) Should AngularFire2 determines that authentication used was custom so there will be no providerData ?\n\nRegards\nKapil\n","author":{"url":"https://github.com/ksachdeva","@type":"Person","name":"ksachdeva"},"datePublished":"2016-06-27T12:50:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/292/angularfire/issues/292"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9f81d92f-da12-db37-abb1-073890a27f11
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8EAC:BC7D3:F829D:14947A:6A61431D
html-safe-nonceb3fca607fba71199bf60ea1eef3af45c3f58326f1b5f7417c6c8838defe47b99
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUFDOkJDN0QzOkY4MjlEOjE0OTQ3QTo2QTYxNDMxRCIsInZpc2l0b3JfaWQiOiI4OTIxMDM4MjkxMjYyODQ5ODIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacea45dc4bb07c66621ee6f467cc2d9cc07e7d27da08cda0d960c4bb4f385eca57
hovercard-subject-tagissue:162444223
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/angular/angularfire/292/issue_layout
twitter:imagehttps://opengraph.githubassets.com/209337e99aecd148b0db84532793726fc1382da20835711cf7e82bc804957d6f/angular/angularfire/issues/292
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/209337e99aecd148b0db84532793726fc1382da20835711cf7e82bc804957d6f/angular/angularfire/issues/292
og:image:altexport function authDataToAuthState(authData: firebase.User, providerData?: OAuthCredential): FirebaseAuthState { if (!authData) return null; let providerId; let { uid } = authData; let authState: ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameksachdeva
hostnamegithub.com
expected-hostnamegithub.com
None358090e896abe1815bef70fcaae0a12d8ebf315874207428312daf7419e9c7c9
turbo-cache-controlno-preview
go-importgithub.com/angular/angularfire git https://github.com/angular/angularfire.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id49453413
octolytics-dimension-repository_nwoangular/angularfire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49453413
octolytics-dimension-repository_network_root_nwoangular/angularfire
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
release87be91c8b3c813d60ac5c8ece422529a03a7e332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angularfire/issues/292#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fissues%2F292
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fangular%2Fangularfire%2Fissues%2F292
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=angular%2Fangularfire
Reloadhttps://github.com/angular/angularfire/issues/292
Reloadhttps://github.com/angular/angularfire/issues/292
Reloadhttps://github.com/angular/angularfire/issues/292
Please reload this pagehttps://github.com/angular/angularfire/issues/292
angular https://github.com/angular
angularfirehttps://github.com/angular/angularfire
Notifications https://github.com/login?return_to=%2Fangular%2Fangularfire
Fork 2.2k https://github.com/login?return_to=%2Fangular%2Fangularfire
Star 7.8k https://github.com/login?return_to=%2Fangular%2Fangularfire
Code https://github.com/angular/angularfire
Issues 244 https://github.com/angular/angularfire/issues
Pull requests 13 https://github.com/angular/angularfire/pulls
Discussions https://github.com/angular/angularfire/discussions
Actions https://github.com/angular/angularfire/actions
Projects https://github.com/angular/angularfire/projects
Security and quality 0 https://github.com/angular/angularfire/security
Insights https://github.com/angular/angularfire/pulse
Code https://github.com/angular/angularfire
Issues https://github.com/angular/angularfire/issues
Pull requests https://github.com/angular/angularfire/pulls
Discussions https://github.com/angular/angularfire/discussions
Actions https://github.com/angular/angularfire/actions
Projects https://github.com/angular/angularfire/projects
Security and quality https://github.com/angular/angularfire/security
Insights https://github.com/angular/angularfire/pulse
Custom Login token handling in auth_backend.tshttps://github.com/angular/angularfire/issues/292#top
https://github.com/ksachdeva
ksachdevahttps://github.com/ksachdeva
on Jun 27, 2016https://github.com/angular/angularfire/issues/292#issue-162444223
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.