Example of using non firebase
Opened this issue · 0 comments
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?