UP-NextPush / server-app

UnifiedPush provider for Nextcloud - server application - Moved to https://codeberg.org/NextPush/uppush
GNU Affero General Public License v3.0
67 stars 8 forks source link

500 Internal Server Error when no auth #4

Open karmanyaahm opened 2 years ago

karmanyaahm commented 2 years ago

When using createdevice and createapp, when there's no authentication (I'm using http basic auth) specified, it throws a 500 instead of a 40x. I don't know if this is an issue in this server-app or in nextcloud itself, so I'll put it here for now.

karmanyaahm commented 2 years ago

There also seems to be 500s when query parameters are omitted (which should also be 400s i think)

p1gp1g commented 2 years ago

When using createdevice and createapp, when there's no authentication (I'm using http basic auth) specified, it throws a 500 instead of a 40x. I don't know if this is an issue in this server-app or in nextcloud itself, so I'll put it here for now.

I keep the issue here ; It should indeed by a 403. The problem may be from nextcloud.

There also seems to be 500s when query parameters are omitted (which should also be 400s i think)

It can be 500 for that I think