12 Matching Annotations
  1. Sep 2023
  2. Jun 2021
    1. Handling 401s well is important for the user's experience. They won't happen often (though more often than I expected), but really do break everything if you're not careful. Getting a good authentication abstraction library for Vue or Ember or whatever you are using should help with a lot of the boring parts. You'll probably need to define some extra strategies/rules for this cookie session approach, but if it's anything like in ember-simple-auth they're so simple it feels like cheating, because the Rails app is doing all of the hard work and you just need the js part to spot a 401 and handle logging in and retrying whatever it was doing before.
  3. May 2021
  4. Mar 2021
  5. Feb 2021
  6. Nov 2020
  7. May 2020
  8. Apr 2020
  9. Mar 2020