Mock server raises key error for validate_token
Bug #610757 reported by
Michael Nelson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical SSO provider |
Confirmed
|
Low
|
Unassigned |
Bug Description
Just a minor difference between the mock server and the real one:
If validate_token is called with an unknown token, the real service returns False, whereas the mockservice raises a key error.
Changed in canonical-identity-provider: | |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
Hrm... I went to create a branch and fix this, but there are issues when setting up the dev environment (looks like the distribution of lazr.restful= =0.9.17 is no longer where it was expected):
{{{ unpacking lazr.restful= =0.9.17 (from -r requirements.txt (line 16)) =0.9.17 (from -r requirements.txt (line 16)) (from versions: ) =0.9.17 (from -r requirements.txt (line 16)) .pip/pip. log
Downloading/
Could not find a version that satisfies the requirement lazr.restful=
No distributions matching the version for lazr.restful=
Storing complete log in /home/michael/
}}}
and pip.log with details: https:/ /pastebin. canonical. com/35122/