The unscoped token keystone returns to you allows you to call GET /tenants and exchange your unscoped token for one scoped to a tenant. This is documented in the API developer guide, but the following functional test illustrates the flow from a client perspective pretty well:<div>
<br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>keystone.test.functional.test_auth.TestServiceAuthentication</div><div>  test_user_auth_with_role_on_tenant()</div></blockquote><div><br></div>
<div>Link: <a href="https://github.com/openstack/keystone/blob/master/keystone/test/functional/test_auth.py">https://github.com/openstack/keystone/blob/master/keystone/test/functional/test_auth.py</a></div><div>See line ~119</div>
<div><br></div><div>-Dolph</div><div><br><div class="gmail_quote">On Tue, Dec 6, 2011 at 5:34 AM, heut2008 <span dir="ltr"><<a href="mailto:heut2008@gmail.com">heut2008@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">

hi,all</div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">

<br></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">

when use crendentials to ask for  a unscoped token,should  keystone offers  more info such as endpoints and user info? is it a bug or for other use?</div><br clear="all"><br><br>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>