diff --git a/pkg/internal/http/api/well_known_api.go b/pkg/internal/http/api/well_known_api.go index fae1bff..70dcf8d 100644 --- a/pkg/internal/http/api/well_known_api.go +++ b/pkg/internal/http/api/well_known_api.go @@ -2,6 +2,7 @@ package api import ( "fmt" + "git.solsynth.dev/hypernet/passport/pkg/internal/services" "github.com/gofiber/fiber/v2" "github.com/spf13/viper" @@ -20,8 +21,8 @@ func getOidcConfiguration(c *fiber.Ctx) error { "grant_types_supported": []string{"authorization_code", "implicit", "refresh_token"}, "subject_types_supported": []string{"public"}, "token_endpoint_auth_methods_supported": []string{"client_secret_post"}, - "id_token_signing_alg_values_supported": []string{"HS512"}, - "token_endpoint_auth_signing_alg_values_supported": []string{"HS512"}, + "id_token_signing_alg_values_supported": []string{"RS256"}, + "token_endpoint_auth_signing_alg_values_supported": []string{"RS256"}, "jwks_uri": fmt.Sprintf("%s/.well-known/jwks", basepath), }) }