Github user GERey commented on the pull request:
https://github.com/apache/incubator-usergrid/pull/164#issuecomment-76102107
This change invalidates all previous tokens.
Tested the following:
Took previous release: Ran database/setup and superuser/setup created a
new user. Entered data into multiple collections. Saved the client_id and
secret. Made sure I could get response from management/token using the client
id and secret
Deployed new release: Had to rerun database/setup in order to recreate the
token database.Made sure I could access all data from the user and multiple
collections. Made hits against management/token and also <orgname>/<appname>
with the previous client id and secret ( but with a new token ) and verified
they still worked. Also took the tomcat offline and added in the following line
to the properties file.
cassandra.keyspace.application=test_keyspace
I then reran the database/setup and superuser/setup endpoints and created a
user with the exact same email as the previous user. Then created data in the
"test_keyspace". The tomcat was taken offline and switched back to the default
keyspace and I logged in using the same email and found the data that was
created in the previous release. The client id and secret are different for the
keyspaces and won't work across keyspaces.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---