stonith404 / pocket-id

A simple OIDC provider that allows users to authenticate with their passkeys to your services.
BSD 2-Clause "Simplified" License
221 stars 2 forks source link

🚀 Feature: Output the urls for endpoints #21

Closed Node815 closed 2 weeks ago

Node815 commented 2 weeks ago

Feature description

On the settings/admin/oidc-clients page, Next to where the OIDC client and secret credentials are displayed, make it so the defaulted OIDC paths are displayed with the mapped domain in the .env file:

image

Pitch

In my use case, I had to open your Github page and scroll through to the https://github.com/stonith404/pocket-id#add-pocket-id-as-an-oidc-provider link to get a hint on these.

Having the paths mapped to the domain name set in the .env file would be valuable at a glance when I have the app I'm configuring (In this case another .env file in VSCode), Having these on the same screen I'm copying from would be a huge time saver.

stonith404 commented 2 weeks ago

Screenshot 2024-09-03 at 19 45 28

Should the "Authorization URL" and "OIDC Discovery URL" be visible by default or would you hide it under the more details?

Node815 commented 2 weeks ago

Either way I think would work :)

stonith404 commented 2 weeks ago

This should be added in v0.4.0.