temp deactivate security

This commit is contained in:
Michael Jerger 2023-11-03 17:45:21 +01:00
parent b7082b7e98
commit fe6f625923

View file

@ -896,7 +896,9 @@ func Routes() *web.Route {
}, context_service.UserIDAssignmentAPI()) }, context_service.UserIDAssignmentAPI())
m.Group("/repository-id/{repository-id}", func() { m.Group("/repository-id/{repository-id}", func() {
m.Get("", activitypub.Repository) m.Get("", activitypub.Repository)
m.Post("/inbox", activitypub.ReqHTTPSignature(), activitypub.RepositoryInbox) m.Post("/inbox",
//activitypub.ReqHTTPSignature(),
activitypub.RepositoryInbox)
}, context_service.RepositoryIDAssignmentAPI()) }, context_service.RepositoryIDAssignmentAPI())
}, tokenRequiresScopes(auth_model.AccessTokenScopeCategoryActivityPub)) }, tokenRequiresScopes(auth_model.AccessTokenScopeCategoryActivityPub))
} }