🐛 Fix openid configuration singing algorithm
This commit is contained in:
parent
5bdc59b4af
commit
6a4f2b6869
@ -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),
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user