-
Notifications
You must be signed in to change notification settings - Fork 1
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
Token invalid #1
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
You have added an
allowedUses
attribute to the server tokens, so it seems there will be a problem with the client access using tokens.I generate a token-id (
ReadPatientsToken
) withSession.getTempId()
against a v1.12 Mainzellist server. This Id will be cached within theSession
class, but we can it use only once. The defaultallowedUses
within the server is 1 for every token (also forReadPatientsToken
), and the client class will not set another value within the JSON data.So I think, that it will be necessary to set
allowedUses
toInteger.MAX_VALUE
or provide a method to set it from outsideSession
by customer code.I use an old library with API-Version 2.0, maybe there are differences on the server. Your current API seems to be 3.2.
Thanks
André
The text was updated successfully, but these errors were encountered: