mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-08-19 05:36:58 +00:00
fmt
This commit is contained in:
@@ -59,15 +59,15 @@ type JWKS struct {
|
||||
|
||||
// JWK represents a JSON Web Key
|
||||
type JWK struct {
|
||||
Kty string `json:"kty"` // Key Type (RSA, EC, etc.)
|
||||
Kid string `json:"kid"` // Key ID
|
||||
Use string `json:"use"` // Usage (sig for signature)
|
||||
Alg string `json:"alg"` // Algorithm (RS256, etc.)
|
||||
N string `json:"n"` // RSA public key modulus
|
||||
E string `json:"e"` // RSA public key exponent
|
||||
X string `json:"x"` // EC public key x coordinate
|
||||
Y string `json:"y"` // EC public key y coordinate
|
||||
Crv string `json:"crv"` // EC curve
|
||||
Kty string `json:"kty"` // Key Type (RSA, EC, etc.)
|
||||
Kid string `json:"kid"` // Key ID
|
||||
Use string `json:"use"` // Usage (sig for signature)
|
||||
Alg string `json:"alg"` // Algorithm (RS256, etc.)
|
||||
N string `json:"n"` // RSA public key modulus
|
||||
E string `json:"e"` // RSA public key exponent
|
||||
X string `json:"x"` // EC public key x coordinate
|
||||
Y string `json:"y"` // EC public key y coordinate
|
||||
Crv string `json:"crv"` // EC curve
|
||||
}
|
||||
|
||||
// NewOIDCProvider creates a new OIDC provider
|
||||
|
||||
@@ -262,7 +262,7 @@ func TestOIDCProviderUserInfo(t *testing.T) {
|
||||
t.Skip("UserInfo endpoint integration not yet implemented - skipping user info test")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
require.NoError(t, err)
|
||||
require.NotNil(t, identity)
|
||||
assert.Equal(t, "user123", identity.UserID)
|
||||
|
||||
Reference in New Issue
Block a user