Title: How to get signInWithCustomToken working ? · Issue #286 · angular/angularfire · GitHub
Open Graph Title: How to get signInWithCustomToken working ? · Issue #286 · angular/angularfire
X Title: How to get signInWithCustomToken working ? · Issue #286 · angular/angularfire
Description: I am trying to use signInWithCustomToken to Login Bootstrap is setup like this: firebaseAuthConfig({ provider: AuthProviders.Custom, method: AuthMethods.CustomToken, }) And my code is like this this.af.auth.login({ token }); But I am get...
Open Graph Description: I am trying to use signInWithCustomToken to Login Bootstrap is setup like this: firebaseAuthConfig({ provider: AuthProviders.Custom, method: AuthMethods.CustomToken, }) And my code is like this thi...
X Description: I am trying to use signInWithCustomToken to Login Bootstrap is setup like this: firebaseAuthConfig({ provider: AuthProviders.Custom, method: AuthMethods.CustomToken, }) And my code is like this thi...
Opengraph URL: https://github.com/angular/angularfire/issues/286
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to get signInWithCustomToken working ?","articleBody":"I am trying to use signInWithCustomToken to Login\n\nBootstrap is setup like this:\n\n```\nfirebaseAuthConfig({\n provider: AuthProviders.Custom,\n method: AuthMethods.CustomToken,\n })\n```\n\nAnd my code is like this\n`this.af.auth.login({ token });`\n\nBut I am getting this kind of error:\n\n```\nerror TS2345: Argument of type '{ token }' is not assignable to parameter of type 'EmailPasswordCredentials | AuthCredential | string'.\n Object literal may only specify known properties, and 'token' does not exist in type 'EmailPasswordCredentials | AuthCredential | string'.\n```\n","author":{"url":"https://github.com/dmastag","@type":"Person","name":"dmastag"},"datePublished":"2016-06-25T19:25:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/286/angularfire/issues/286"}
| 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:3d6ade08-435e-5273-395f-9a326e44794e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8122:B7FD5:95CE5F:CA1472:6A600E78 |
| html-safe-nonce | 30076896baaa1766959dd0c8a436e69ed40a9458036eec99f62d91b966b00a6e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTIyOkI3RkQ1Ojk1Q0U1RjpDQTE0NzI6NkE2MDBFNzgiLCJ2aXNpdG9yX2lkIjoiNTc5Nzk2MTQyOTA5MDgzMTk5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b75cf45bfcde0c286f23fba3b4c95e02212abcbd94ea48084e832d06a86c14fe |
| hovercard-subject-tag | issue:162295857 |
| 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/angular/angularfire/286/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bdb7bc588a38e25413ee50b6d10890ed4947a5f9c8cc798202ce9b7834551cb3/angular/angularfire/issues/286 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bdb7bc588a38e25413ee50b6d10890ed4947a5f9c8cc798202ce9b7834551cb3/angular/angularfire/issues/286 |
| og:image:alt | I am trying to use signInWithCustomToken to Login Bootstrap is setup like this: firebaseAuthConfig({ provider: AuthProviders.Custom, method: AuthMethods.CustomToken, }) And my code is like this thi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dmastag |
| hostname | github.com |
| expected-hostname | github.com |
| None | 48cb2ed2304f8ae5a4a05d6327faf70466c4c0d9dcbf7b9df76251ca9c669a90 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angularfire git https://github.com/angular/angularfire.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 49453413 |
| octolytics-dimension-repository_nwo | angular/angularfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49453413 |
| octolytics-dimension-repository_network_root_nwo | angular/angularfire |
| 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 | cb0f10a384099e0765239a7cc220992cae52bdba |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width