You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accidentally I called GET against the /authenticate endpoint.
Expected behavior
Nothing. Expected the server is running normal and the client should encounter nothing.
Observed behavior (including steps to reproduce, if applicable)
When the client called this,
[irods@dev-u0137480 go-http-client]$ curl -X GET -u rods:rods http://localhost:9000/irods-http-api/0.1.0/authenticate
curl: (52) Empty reply from server
This commit makes it so that the server only runs OIDC authentication
code paths when the OIDC stanza is present.
Before this commit, the server would crash when the following was true:
- The configuration file did not contain an OIDC stanza.
- A user sent a GET request to the /authenticate endpoint.
The server crashed because the GET logic of the endpoint handled a
special OIDC case.
This commit makes it so that the server only runs OIDC authentication
code paths when the OIDC stanza is present.
Before this commit, the server would crash when the following was true:
- The configuration file did not contain an OIDC stanza.
- A user sent a GET request to the /authenticate endpoint.
The server crashed because the GET logic of the endpoint handled a
special OIDC case.
korydraughn
added a commit
to korydraughn/irods_client_http_api
that referenced
this issue
Jan 12, 2024
Bug Report
iRODS Version, OS and Version
4.3.1, almalinux8
What did you try to do?
Accidentally I called
GET
against the/authenticate
endpoint.Expected behavior
Nothing. Expected the server is running normal and the client should encounter nothing.
Observed behavior (including steps to reproduce, if applicable)
When the client called this,
The server crashed with:
The server is configured with the basic authentication schema. Might be related to #139?
The text was updated successfully, but these errors were encountered: