Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delegation for Firebase #55

Closed
cflorion opened this issue Oct 2, 2016 · 3 comments · Fixed by #69
Closed

Delegation for Firebase #55

cflorion opened this issue Oct 2, 2016 · 3 comments · Fixed by #69
Milestone

Comments

@cflorion
Copy link

cflorion commented Oct 2, 2016

Hi 🙂

I am using this library in an iOS App that needs authentication to Firebase with the id_token got by calling FIRAuth.auth()?.signIn(withCustomToken:...)

From what I understood I need to do the following steps in order to get this custom token:

  • login to Auth0 with email and password to get the credentials via the Auth0.authentication() .login(...) method
  • with the credentials I get the profile via the Auth0.authentication().tokenInfo(...) method
  • get the delegation token from the id_token in the profile

But I this library I cannot find any method to get a delegation token. Is this missing or I have misunderstood the logic ?

Thanks a lot 😉

@hzalaz hzalaz added this to the 1.1.0 milestone Dec 13, 2016
@huguesbr
Copy link

Do you have any docs that explain this delegation on iOS?
Can't find any.

Trying to do firebase auth using auth0 but keep having "INVALID_CUSTOM_TOKEN" error from firebase...

@cocojoe
Copy link
Member

cocojoe commented Feb 22, 2017

Hi @huguesbr

Please open a new issue if you wish to continue this. However have you looked at:

https://auth0.com/docs/libraries/lock-ios/delegation-api

Thanks

@huguesbr
Copy link

@cocojoe thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants