Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
Skin
  • Chiaro
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Scuro
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  1. Home
  2. Categorie
  3. Technical Discussion
  4. @sl007@digitalcourage.social These vocabularies should be implemented in Fedify.

@sl007@digitalcourage.social These vocabularies should be implemented in Fedify.

Pianificato Fissato Bloccato Spostato Technical Discussion
activitypubfedifyoauth
5 Post 2 Autori 5 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • sl007@digitalcourage.social
    sl007@digitalcourage.social
    sl007@digitalcourage.social
    scritto su ultima modifica di
    #1

    @hongminhee @fedify

    Hey there,
    this is about the new #ActivityPub C2S specs. introducing new properties.

    In https://swicg.github.io/activitypub-api/basicprofile#discovery – the according example https://swicg.github.io/activitypub-api/examples/oauth/index.html expects the properties to be either in the /.well-known/oauth-authorization-server or in the Actor.

    How can I support them in Actors created by fedify, e.g. in an ActorDispatcher ?
    Maybe they should be defined in the default context …
    #fedify #oauth

    hongminhee@hollo.social 1 Risposta Ultima Risposta
    0
    • sl007@digitalcourage.social sl007@digitalcourage.social

      @hongminhee @fedify

      Hey there,
      this is about the new #ActivityPub C2S specs. introducing new properties.

      In https://swicg.github.io/activitypub-api/basicprofile#discovery – the according example https://swicg.github.io/activitypub-api/examples/oauth/index.html expects the properties to be either in the /.well-known/oauth-authorization-server or in the Actor.

      How can I support them in Actors created by fedify, e.g. in an ActorDispatcher ?
      Maybe they should be defined in the default context …
      #fedify #oauth

      hongminhee@hollo.social
      hongminhee@hollo.social
      hongminhee@hollo.social
      scritto su ultima modifica di hongminhee@hollo.social
      #2

      @sl007@digitalcourage.social These vocabularies should be implemented in Fedify. See also the docs on extending the vocabulary. Could you file an issue for this?

      1 Risposta Ultima Risposta
      0
      • sl007@digitalcourage.social
        sl007@digitalcourage.social
        sl007@digitalcourage.social
        scritto su ultima modifica di
        #3

        @hongminhee

        Yes, I will do.

        Unfortunately in the example itself there are some things which I find very misleading:
        https://github.com/swicg/activitypub-api/blob/main/examples/oauth/index.html

        Apart from the variable-name "as" for "auth-server" ;)

        For discovery `getAsFromOrigin` takes precedence over `getAsFromActor` but actor-endpoints are more specific than serverwides.
        If it would be the other way around, the users does not have to enter their handles twice.
        Opinion?

        1 Risposta Ultima Risposta
        0
        • sl007@digitalcourage.social
          sl007@digitalcourage.social
          sl007@digitalcourage.social
          scritto su ultima modifica di
          #4

          @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

          sl007@digitalcourage.social 1 Risposta Ultima Risposta
          0
          • sl007@digitalcourage.social sl007@digitalcourage.social

            @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

            sl007@digitalcourage.social
            sl007@digitalcourage.social
            sl007@digitalcourage.social
            scritto su ultima modifica di
            #5

            @hongminhee @fedify

            about above;
            We just finished the first Social CG Dev meeting after the summer break [thus not the real first tuesday this month] …

            There will be some even new properties in the Data Portability Draft.
            I summed up the new C2S spec drafts here:
            https://digitalcourage.social/@sl007/117189119258003701

            And then there is a Special Community Call for next Tuesday :
            https://www.w3.org/events/meetings/4b3419c9-0d4c-460f-8a32-b575acd87b6c/

            1 Risposta Ultima Risposta
            0

            Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

            Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

            Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

            Registrati Accedi
            Rispondi
            • Risposta alla discussione
            Effettua l'accesso per rispondere
            • Da Vecchi a Nuovi
            • Da Nuovi a Vecchi
            • Più Voti


            Feed RSS
            @sl007@digitalcourage.social These vocabularies should be implemented in Fedify.
            @pierobosio@soc.bosio.info
            NodeBB Contributors
            • Accedi

            • Accedi o registrati per effettuare la ricerca.
            • Primo post
              Ultimo post