Merge "Add missing documentation for enabling oauth1 auth plugin"

This commit is contained in:
Jenkins 2014-03-12 02:07:08 +00:00 committed by Gerrit Code Review
commit bde896b0f5

View File

@ -25,11 +25,17 @@ To enable the OAuth1 extension:
[oauth1] [oauth1]
driver = keystone.contrib.oauth1.backends.sql.OAuth1 driver = keystone.contrib.oauth1.backends.sql.OAuth1
2. Add the ``oauth1_extension`` filter to the ``api_v3`` pipeline in ``keystone-paste.ini``. For example:: 2. Add the ``oauth1`` authentication method to the ``[auth]`` section in ``keystone.conf``::
[auth]
methods = external,password,token,oauth1
oauth1 = keystone.auth.plugins.oauth1.OAuth
3. Add the ``oauth1_extension`` filter to the ``api_v3`` pipeline in ``keystone-paste.ini``. For example::
[pipeline:api_v3] [pipeline:api_v3]
pipeline = access_log sizelimit url_normalize token_auth admin_token_auth xml_body json_body ec2_extension s3_extension oauth1_extension service_v3 pipeline = access_log sizelimit url_normalize token_auth admin_token_auth xml_body json_body ec2_extension s3_extension oauth1_extension service_v3
3. Create the OAuth1 extension tables if using the provided SQL backend. For example:: 4. Create the OAuth1 extension tables if using the provided SQL backend. For example::
./bin/keystone-manage db_sync --extension oauth1 ./bin/keystone-manage db_sync --extension oauth1