@hongminhee
Well, after the issues with the given ActivityPub "OAuth example", I looked up
@fedify /vocab …
In all the actor types like https://github.com/fedify-dev/fedify/blob/main/packages/vocab/src/person.yaml
the following properties would be missing [if the official OAuth demo should work] :
grant_types_supported: ['authorization_code'],
response_types_supported:
['code', 'code token'],
code_challenge_methods_supported: ['S256'],
token_endpoint_auth_methods_supported: [
'client_secret_basic'
// optional
/*, 'private_key_jwt'*/
],
token_endpoint_auth_signing_alg_values_supported: ['RS256', 'ES256'],
client_id_metadata_document_supported: true,
optional
scopes_supported and ui_locales_supported:
---
anyway:
I believe it is just misleading because of the order of querying the server and the actor description.
I would expect it to meet the spec and pull above properties from the server wide .well-known oauth and just the endpoints from the Actor …
#ActivityPub #OAuth