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

I should be able to authenticate users.... from the frontend.... to the backend #32

Closed
becckitt opened this Issue Aug 24, 2018 · 1 comment

Comments

1 participant
@becckitt
Owner

becckitt commented Aug 24, 2018

so you can do things like: browse YOUR products, ADD products, edit products, etc, the world is your oyster after this step is done!!

Some resources bc boy ive got no idea how this thing works:
https://medium.com/the-graphqlhub/graphql-and-authentication-b73aed34bbeb

https://blog.pusher.com/handling-authentication-in-graphql/

https://www.pluralsight.com/guides/token-based-authentication-with-ruby-on-rails-5-api

How graphql-ruby gem handles auth: http://graphql-ruby.org/operation_store/access_control

This is just a good-to-know about the changes to secret base key in rails 5.2: https://medium.com/@wintermeyer/goodbye-secrets-welcome-credentials-f4709d9f4698

More Rails specific sources:

For Apollo:

Left to do

  • Change http.post to a graphql mutation, make sure if backend fails, they aren't still logged in.
  • Get token passed correctly from Apollo to GraphQL, make sure it's present in requests
  • Make sure login works
  • Make sure sign up works

@becckitt becckitt created this issue from a note in Skincare App Buildout (Doing) Aug 24, 2018

@becckitt becckitt added the SOS label Aug 25, 2018

@becckitt

This comment has been minimized.

Owner

becckitt commented Sep 13, 2018

lord. how did i get here

@becckitt becckitt referenced this issue Oct 27, 2018

Merged

Bb add auth #46

@becckitt becckitt closed this in #46 Oct 27, 2018

@becckitt becckitt moved this from Doing to Done in Skincare App Buildout Oct 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment