Michael Mayer
Michael Mayer
Here's what I think is still needed to make this releasable: - [x] The ability to use client authentication with a bearer token header [for WebDAV access](https://github.com/photoprism/photoprism/blob/cf93437b1c4f0a20cd51cf964e0455bf6a66e8e3/internal/server/basicauth.go#L64-L65) too - [x]...
If you would like to test the new `POST /api/v1/oauth/token` endpoint, you can use the [photoprism/photoprism:test](https://hub.docker.com/r/photoprism/photoprism/tags?page=1&name=test) image available on Docker Hub and, for example, run this in a terminal to...
This can now be tested with our Development Preview build: - https://docs.photoprism.app/getting-started/updates/#development-preview
With the commits referenced above, you can now create personal access tokens for authentication with our API without having to first register an OAuth2 client application, e.g. by running the...
@Radiokot I've started working on a `/.well-known/oauth-authorization-server` service discovery endpoint for OAuth2-compatible API clients:  To complete this, it would be good to know **which fields you actually need?** We...
@Radiokot To authenticate with the API, you can currently create an `access_token` (aka "auth token") with the `photoprism auth add` command in a terminal (later also through the user interface)....
@Radiokot A simple `/.well-known/oauth-authorization-server` endpoint is now implemented and can be tested with the updated `photoprism/photoprism:test` image available on Docker Hub: ```json { "issuer": "http://localhost:2342/", "authorization_endpoint": "", "token_endpoint": "http://localhost:2342/api/v1/oauth/token", "registration_endpoint":...
An [updated preview build](https://docs.photoprism.app/getting-started/updates/#development-preview) is now available [on Docker Hub](https://hub.docker.com/r/photoprism/photoprism/tags?name=preview) for final testing: - https://docs.photoprism.app/getting-started/updates/#development-preview - https://docs.photoprism.app/release-notes/#development-preview **Any help with that is much appreciated!** :tada:
I have added the CLI command documentation to the User Guide, so that it's easy to find: - https://docs.photoprism.app/user-guide/users/client-credentials/ Any contributions that help improve the API documentation and make it...
@0chroma That's great! I suggest you take a look at our existing backend APIs / frontend components and then suggest changes needed to implement this: - https://pkg.go.dev/github.com/photoprism/photoprism/internal/api - https://github.com/photoprism/photoprism/tree/develop/internal/api -...