Skip to content

Instantly share code, notes, and snippets.

View dannyradden's full-sized avatar

Danny Radden dannyradden

  • Denver, CO
View GitHub Profile
@NicholasJacques
NicholasJacques / rails_setup.markdown
Last active March 3, 2021 11:51
Getting Started with RSpec and Rails:

Getting Started with RSpec and Rails:

Setting up a new Ruby on Rails project using RSpec, Cabybara, FactoryGirl and DatabaseCleaner

What will this tutorial do you for you?

This tutorial will help guide you through the process of setting up a new Ruby on Rails project with robust testing capabilities. This tutorial makes a couple of assumptions:

  • You have installed Ruby on Rails and have a rudimentary understanding of how to use it.
  • You have installed bundler
@samlandfried
samlandfried / auth0-pid-access-token-retrieval.md
Created July 23, 2017 18:44
Learn how to retrieve a user's access token to an identity provider with Auth0

Auth0 and ID Provider Access

How to Get API Access Tokens to Services You Authenticate With

What?

Auth0 is an incredible tool with a wide range of capabilities for anyone building a web app that relies on storing and authenticating users. It's the AWS of user management via oauth (Although I imagine AWS has some service that takes care of that). The documentation on Auth0 is similarly comprehensive. I found a homegrown tutorial on their site that covered everything I needed to do (When you create a new app, you answer a few questions to describe the type of app you're building and what technology you're using, and it serves the exact tut you need). Even with Auth0 pushing the limit of what a service can do to make it easy for their users to dive in, I spent a solid 2 days trying to get everything working together. Hopefully, this blog can help you clear one hurdle quicker than me.

What I won't talk about

I'm not going to talk about how to authenticate users with Auth0. That's step 1, and it rea