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
Domain names used as client IDs **must** have a suffix registered in the [Public Suffix List][PSL]. The only exception to this rule is `localhost`, which **must** be used for local development only.
However, I don't see how localhost could be used for local development? This implies the PDS and the client runs on the same host, and that the client somehow listens with HTTPS on port 443, which usually requires root privileges to do
The text was updated successfully, but these errors were encountered:
sandhose
changed the title
OAUTH: how can an atproto PDS do discovery for the localhost "client ID"?
OAUTH: how can an atproto PDS do discovery for the localhost "global client ID"?
Feb 8, 2024
When using localhost as client id, the metadata that will be used by the oauth provider will be an hard coded value (and never be fetched directly by the AS):
When using `localhost` as client ID, the AS will not be able to resolve the client metadata using the method described above. Instead, the Authorization Server will use the following client metadata:
The proposal says:
proposals/0004-oauth/README.md
Line 148 in a3a2994
However, I don't see how localhost could be used for local development? This implies the PDS and the client runs on the same host, and that the client somehow listens with HTTPS on port 443, which usually requires
root
privileges to doThe text was updated successfully, but these errors were encountered: