README.md in gds-sso-15.1.0 vs README.md in gds-sso-16.0.0

- old
+ new

@@ -15,11 +15,11 @@ ### Integration with a Rails 4+ app - Include the gem in your Gemfile: ```ruby - gem 'gds-sso', '<version>' + gem 'gds-sso' ``` - Create a "users" table in the database: ([example migration with all the necessary fields](https://github.com/alphagov/content-publisher/blob/16c58a40745c1ea61ec241e5aeb702ae15238f98/db/migrate/20160622154200_create_users.rb)) - Create a User model with the following: @@ -105,11 +105,11 @@ ### Use in production mode To use gds-sso in production you will need to setup the following environment variables, which we look for in [the config](https://github.com/alphagov/gds-sso/blob/master/lib/gds-sso/config.rb). You will need to have admin access to Signon to get these. -- OAUTH_ID -- OAUTH_SECRET +- GDS_SSO_OAUTH_ID +- GDS_SSO_OAUTH_SECRET ### Use in development mode In development, you generally want to be able to run an application without needing to run your own SSO server to be running as well. GDS-SSO facilitates this by using a 'mock' mode in development. Mock mode loads an arbitrary user from the local application's user tables: