We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Say I have only one client in ORY Hydra server. And when I am using GET /clients, the Link header is:
GET /clients
Link
Link: </clients?limit=100&offset=0>; rel="first",</clients?limit=100&offset=-100>; rel="prev"
Expected behavior
In this situation, the expected result is containing first link only
first
Environment
Using the latest docker image:
# docker.yml hydra: image: oryd/hydra:latest ports: - "4444:4444" # Public port - "4445:4445" # Admin port - "5555:5555" # Port for hydra token user command: serve all --dangerous-force-http environment: - URLS_SELF_ISSUER=http://127.0.0.1:4444 - URLS_CONSENT=http://127.0.0.1:4201/static/consent - URLS_LOGIN=http://127.0.0.1:4201/static/login - URLS_LOGOUT=http://127.0.0.1:4201/static/logout - DSN=memory - SECRETS_SYSTEM=youReallyNeedToChangeThis - LOG_LEVEL=debug restart: unless-stopped
The text was updated successfully, but these errors were encountered:
Nice catch!
Sorry, something went wrong.
Would you be able to fix this? The code is located at: https://github.com/ory/x/blob/master/pagination/header.go
Well, embarrassing, I have no idea how to write Go at all, this is a total black box for me...
5a27ab3
vendor: Update ory/x dependency to 0.0.89 (ory#1702)
0ea3f50
Closes ory#1667
No branches or pull requests
Describe the bug
Say I have only one client in ORY Hydra server. And when I am using
GET /clients
, theLink
header is:Expected behavior
In this situation, the expected result is containing
first
link onlyEnvironment
Using the latest docker image:
The text was updated successfully, but these errors were encountered: