activitypods icon indicating copy to clipboard operation
activitypods copied to clipboard

ActivityPod as OIDC provider?

Open samuk opened this issue 2 years ago • 8 comments

Could ActivityPub integrate with something like https://gitlab.com/yaal/canaille/ so that it could provide web2.0 auth services too?

Canaille would need to be forked to use ActivityPod as the backend.

samuk avatar May 23 '23 13:05 samuk

We talked about this with @Laurin-W today.

Indeed ActivityPods could become an OIDC provider. You could then connect to it like any other OIDC provider and get in return some informations about the user, like the WebID, the email and such.

Some related resources: https://github.com/panva/node-oidc-provider https://nat.sakimura.org/2013/07/28/write-openid-connect-server-in-three-simple-steps/

srosset81 avatar Nov 02 '23 16:11 srosset81

In https://github.com/assemblee-virtuelle/activitypods/pull/123 we have implemented the node-oidc-provider library so it should be possible in the future to use ActivityPods as a OIDC provider (at least it is advertised that the Community Solid Server can do that, and it uses the same library)

srosset81 avatar Nov 21 '23 19:11 srosset81

Nice! I'll try and check it out soon.

samuk avatar Nov 21 '23 20:11 samuk

@samuk Unless you try to launch locally https://github.com/assemblee-virtuelle/activitypods/pull/123, you will have to wait for the release of ActivityPods 2.0, which is planned next spring.

srosset81 avatar Nov 22 '23 09:11 srosset81

I added a request for it to be packaged as a PikaPod. I don't know if they'll be interested in doing that.

https://feedback.pikapods.com/posts/426/https-github-com-assemblee-virtuelle-activitypods

samuk avatar Nov 22 '23 12:11 samuk

Nice ! For information, as part of the NLnet grant I received, I will get support to package ActivityPods with Nix as well.

srosset81 avatar Nov 22 '23 14:11 srosset81

Thanks

I wonder if there is some possibility of supporting the Atproto DID spec too?

I notice that an existing DID:Solid spec exists.

Perhaps Bluesky might be interested in maintaining an ActivityPods instance(s) and using it as their identity provider?

As a user I would then have a single portable identity that I could use with ActivityPub, Solid or Atproto

samuk avatar Dec 07 '23 09:12 samuk

Do you have a timeline for doing the Nix packaging? I don't know much about it but https://shipnix.io/ seems to make it easy

samuk avatar Jan 11 '24 09:01 samuk