cmosguy / react-redux-auth0

Using kriasoft/react-starter-kit/tree/feature/redux/ with Auth0 example
MIT License
2 stars 3 forks source link

Authenticated state on server; restoring profile on client #3

Closed langpavel closed 8 years ago

langpavel commented 8 years ago

@cmosguy Now token and profile is restored on client and authenticated state is known on server.. but server don't know profile

cmosguy commented 8 years ago

Thanks @langpavel I am going to start working on the laravel PHP backend for this

langpavel commented 8 years ago

@cmosguy can you pitch some benefits, I'm just curious why you don't want use ready for use GraphQL backend in RSK

cmosguy commented 8 years ago

@langpavel here is my reasoning so far:

  1. I do not yet understand how to drive the GraphQL, I have only played a little bit through a tutorial.
  2. I've a lot more experience with Laravel PHP.
  3. Laravel PHP takes care of all the backend logic that I have experience using. I am not really a node.js guy.
langpavel commented 8 years ago

Understood, do you want to learn? I can help you with. What is your real storage backend? Relational DB? NoSQL DB?

langpavel commented 8 years ago

I have much more experience with SQL than with React.. :-)

cmosguy commented 8 years ago

@langpavel I have create and point here:

https://auth0-redux-react.adamklein.io/admin

can we make a fetch request using the token?

cmosguy commented 8 years ago

My storage at the moment is SQL! I do want to learn... but highest priority for me:

  1. Setup React client with Auth0
  2. Setup fetch to API endpoints to https://auth0-redux-react.adamklein.io/
  3. Learn GraphQL at some point