You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other (e.g. Node, browser, operating system) (if applicable): Ionic
Test case
The doc says that $getAuth() returns :
uid, provider (string identifying the provider), auth (the authentication token payload), and expires (expiration time in seconds since the Unix epoch)
But
var authData = $scope.authObj.$getAuth();
authData.uid is okay, but authData.provider and authData.auth are undefined.
Steps to reproduce
var authData = $scope.authObj.$getAuth();
var provider = authData.provider
var uid = authData.uid
Expected behavior
If the doc is correct, provider should be a string, and it is currently "undefined"
Actual behavior
provider is "undefined".
The text was updated successfully, but these errors were encountered:
Thanks for this. It looks like the doc is just a bit out of date. Will use this as a bug to track. To some extent, the data returned depends on the auth method being used and the scopes you've assigned.
Version info
Angular: 1.5.6
**Firebase:**3.0.3
AngularFire: 2.0.1
Other (e.g. Node, browser, operating system) (if applicable): Ionic
Test case
The doc says that $getAuth() returns :
But
var authData = $scope.authObj.$getAuth();
authData.uid is okay, but authData.provider and authData.auth are undefined.
Steps to reproduce
Expected behavior
If the doc is correct, provider should be a string, and it is currently "undefined"
Actual behavior
provider is "undefined".
The text was updated successfully, but these errors were encountered: