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

Example of using non firebase #10

Open
riemers opened this issue Sep 11, 2017 · 0 comments
Open

Example of using non firebase #10

riemers opened this issue Sep 11, 2017 · 0 comments

Comments

@riemers
Copy link

riemers commented Sep 11, 2017

Hi there, been looking at this piece of code for some time now. Pretty new at this all so i don't get everything :) Firebase demo works fine, also locally. But can you show an example where you would use your own api. I have an api which wants something like this:

this.$.registerLoginAjax.body = { apiKey: 'secretkey', logonName: 'me'};

I see 2 url's in the example both are tokens, in our case we just authenticate towards a token api service (with above body) which gives us a jwt token, which we use with the bearer to do calls on another service. Any tips would be appreciated, moving from angular so its pretty different imho ;)

And indeed, as you describe in your readme. All other examples just login, no refresh! Those i have working but that is not the proper way indeed.

p.s. https://auth0.com/blog/build-your-first-app-with-polymer-and-web-components/ this is an example like that, but without refresh. If it had the refresh i would be finished, but you could use that node.js as an example perhaps?

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

No branches or pull requests

1 participant