C9Glax / tranga-website

Web-Frontend for Tranga-API
GNU General Public License v3.0
17 stars 10 forks source link

Add fields Username and Password to Settings, instead of auth #87

Open C9Glax opened 3 months ago

C9Glax commented 3 months ago

Originally posted by @C9Glax in https://github.com/C9Glax/tranga/issues/183#issuecomment-2143612607

NTFY uses an auth parameter in the request, that right now has to be manually generated. Instead use a combination of Username and Password and generate auth on API side. Add the fields to the website. Will respond with updated endpoints.

https://github.com/C9Glax/tranga/issues/187

C9Glax commented 2 months ago

Added the API code both in V1 and V2 ( https://github.com/C9Glax/tranga/commit/d52ec8d36f9cdf62fe547bfdb5c947a17e22aa4d https://github.com/C9Glax/tranga/commit/fd20b9febf1058b916dc48678a2222d1ac60ccbb https://github.com/C9Glax/tranga/commit/8607bd2c897d9930d21c1fae813462e22347cf0a ) of the API. Can you create a PR for your code to cuttingedge? API PR is ready to merge https://github.com/C9Glax/tranga/pull/189