A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io
docker container atproto go
80
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix oauth issues on hold service

+14 -2
+14 -2
cmd/hold/main.go
··· 768 768 // This is referenced by its client ID URL 769 769 mux.HandleFunc("/client-metadata.json", func(w http.ResponseWriter, r *http.Request) { 770 770 // Create a temporary config to generate metadata (indigo provides this) 771 - redirectURI := cfg.Server.PublicURL + "/oauth/callback" 771 + redirectURI := cfg.Server.PublicURL + "/auth/oauth/callback" 772 772 clientID := cfg.Server.PublicURL + "/client-metadata.json" 773 - scopes := []string{"atproto"} // Hold service uses default scopes 773 + 774 + // Define scopes needed for hold registration 775 + scopes := []string{ 776 + "atproto", 777 + fmt.Sprintf("repo:%s?action=create", atproto.HoldCollection), 778 + fmt.Sprintf("repo:%s?action=update", atproto.HoldCollection), 779 + fmt.Sprintf("repo:%s?action=create", atproto.HoldCrewCollection), 780 + fmt.Sprintf("repo:%s?action=update", atproto.HoldCrewCollection), 781 + fmt.Sprintf("repo:%s?action=create", atproto.SailorProfileCollection), 782 + fmt.Sprintf("repo:%s?action=update", atproto.SailorProfileCollection), 783 + } 774 784 775 785 config := indigooauth.NewPublicConfig(clientID, redirectURI, scopes) 776 786 metadata := config.ClientMetadata() ··· 1035 1045 fmt.Sprintf("repo:%s?action=update", atproto.HoldCollection), 1036 1046 fmt.Sprintf("repo:%s?action=create", atproto.HoldCrewCollection), 1037 1047 fmt.Sprintf("repo:%s?action=update", atproto.HoldCrewCollection), 1048 + fmt.Sprintf("repo:%s?action=create", atproto.SailorProfileCollection), 1049 + fmt.Sprintf("repo:%s?action=update", atproto.SailorProfileCollection), 1038 1050 } 1039 1051 1040 1052 // Determine base URL based on mode