Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Token.using.token #50

Closed
wants to merge 2 commits into from
Closed

Token.using.token #50

wants to merge 2 commits into from

Conversation

amol
Copy link
Contributor

@amol amol commented Feb 26, 2014

The API Reference for identity service specifies that token can be generated using existing token, which was not supported by SL driver. Modified the common/sl/auth.py to read token and generate new.

Nathan Beittenmiller and others added 2 commits February 26, 2014 17:10
validate tenant id against account id during authN
The API Specification http://api.openstack.org/api-ref-identity.html
allows users to authenticate and generate token from old token. Request
body format:
{
    "auth" :
        { "token" : {"id" : "old_token"} }
}
@sudorandom
Copy link
Contributor

The only issue I have with this is that it doesn't work with a password-based auth. The token won't have an 'api_key' but a 'hashToken'. This also will greatly conflict with the work that @bodenr is doing in #48. I recommend working off of his branch since his pull request is close to being pulled in.

@amol amol mentioned this pull request Mar 5, 2014
@sudorandom
Copy link
Contributor

I assume this is okay to close due to #59?

@amol
Copy link
Contributor Author

amol commented Mar 8, 2014

Yes, right.

@sudorandom sudorandom closed this Mar 8, 2014
@amol amol deleted the token.using.token branch March 9, 2014 12:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants