-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't index binary tokens #194
Comments
Also OpenDJ 3 PDB backend doesn't allow to insert such long values into index fields: |
our jwt are quite long. Indeed it's good idea to hash it. Also it may be good time to write index tests according to: |
Closed and re-opened as a CE Setup issue: GluuFederation/community-edition-setup#284 |
According to CE configuration there is index for attribute 'oxAuthTokenCode'
But not all
oxAuthTokenCode
values are GUID or simple string. Exmple:It's not right approach to index such values.
For example we can generate SHA2 hashcode of this value and use it to search by token.
The text was updated successfully, but these errors were encountered: