Add missing documentation for enabling oauth1 auth plugin

The oauth1 method and plugin must be declared in keystone.conf for
OS-OAUTH1 to be completely enabled.

Change-Id: I23b479d3cd462ea3823dee0c281a26486f8600ac
Closes-Bug: #1290966
This commit is contained in:
Steve Martinelli 2014-03-11 12:45:24 -05:00
parent 126179129f
commit cbc14f3002

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