Compare commits
1 Commits
0.7.4
..
b9faf0b9b8
| Author | SHA1 | Date | |
|---|---|---|---|
| b9faf0b9b8 |
@@ -2,51 +2,6 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.7.4] - 2026-05-04
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- *(deps)* Update module github.com/lestrrat-go/jwx/v4 to v4.0.1 (#306)
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(deps)* Update golang:1.26 docker digest to f715906 (#301)
|
||||
- *(deps)* Update golang:1.26 docker digest to 1e598ea (#303)
|
||||
- *(deps)* Update golang:1.26 docker digest to b54cbf5 (#305)
|
||||
- Update import paths and registry refs after move to gitea (#307)
|
||||
|
||||
## [0.7.3] - 2026-04-22
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- *(deps)* Update module github.com/alecthomas/kong to v1.15.0 (#285)
|
||||
- *(deps)* Update module github.com/lestrrat-go/jwx/v3 to v3.1.0 (#296)
|
||||
- *(deps)* Update module github.com/lestrrat-go/jwx/v3 to v4 (#297)
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(deps)* Update gcr.io/distroless/static-debian12 docker digest to 20bc6c0 (#262)
|
||||
- *(deps)* Update golang:1.26 docker digest to b39810f (#264)
|
||||
- *(deps)* Update golang:1.26 docker digest to b751797 (#265)
|
||||
- *(deps)* Update golang:1.26 docker digest to a9c4aac (#267)
|
||||
- *(deps)* Update golang:1.26 docker digest to 9edf713 (#269)
|
||||
- *(deps)* Update golang:1.26 docker digest to fb612b7 (#270)
|
||||
- *(deps)* Update golang:1.26 docker digest to e2ddb15 (#271)
|
||||
- *(deps)* Update golang:1.26 docker digest to cdebbd5 (#272)
|
||||
- *(deps)* Update golang:1.26 docker digest to c7e98cc (#274)
|
||||
- *(deps)* Update golang:1.26 docker digest to 318ba17 (#276)
|
||||
- *(deps)* Update golang:1.26 docker digest to 16e774b (#277)
|
||||
- *(deps)* Update golang:1.26 docker digest to dd25c49 (#279)
|
||||
- *(deps)* Update golang:1.26 docker digest to c42e4d7 (#281)
|
||||
- *(deps)* Update golang:1.26 docker digest to 595c784 (#283)
|
||||
- *(deps)* Update golang:1.26 docker digest to 42ebbf7 (#286)
|
||||
- *(deps)* Update golang:1.26 docker digest to 5e69504 (#287)
|
||||
- *(deps)* Update golang:1.26 docker digest to cd78d88 (#289)
|
||||
- *(deps)* Update golang:1.26 docker digest to ec4debb (#291)
|
||||
- *(deps)* Update golang:1.26 docker digest to fcdb3e4 (#293)
|
||||
- *(deps)* Update golang:1.26 docker digest to 5f3787b (#295)
|
||||
- *(deps)* Update golang:1.26 docker digest to 46d487a (#299)
|
||||
|
||||
## [0.7.2] - 2026-02-12
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
+5
-2
@@ -1,8 +1,11 @@
|
||||
FROM golang:1.26@sha256:b54cbf583d390341599d7bcbc062425c081105cc5ef6d170ced98ef9d047c716 AS build
|
||||
FROM golang:1.26@sha256:5f3787b7f902c07c7ec4f3aa91a301a3eda8133aa32661a3b3a3a86ab3a68a36 AS build
|
||||
|
||||
ARG GITLAB_USER
|
||||
ARG GITLAB_TOKEN
|
||||
|
||||
WORKDIR /build
|
||||
ENV CGO_ENABLED=0
|
||||
ENV GOEXPERIMENT=jsonv2
|
||||
ENV GOPRIVATE=gitlab.com/unboundsoftware/*
|
||||
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
+2
-2
@@ -38,7 +38,7 @@ func NewJWTService(issuer, audience, adminClaim, emailClaim string) (*JWTService
|
||||
}
|
||||
|
||||
// Create JWK from private key
|
||||
key, err := jwk.Import[jwk.Key](privateKey)
|
||||
key, err := jwk.Import(privateKey)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("create JWK from private key: %w", err)
|
||||
}
|
||||
@@ -98,7 +98,7 @@ func (s *JWTService) SignToken(claims map[string]interface{}) (string, error) {
|
||||
}
|
||||
|
||||
// Create JWK from private key for signing
|
||||
key, err := jwk.Import[jwk.Key](s.privateKey)
|
||||
key, err := jwk.Import(s.privateKey)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("create signing key: %w", err)
|
||||
}
|
||||
|
||||
@@ -15,9 +15,9 @@ import (
|
||||
"github.com/alecthomas/kong"
|
||||
"github.com/rs/cors"
|
||||
|
||||
"git.unbound.se/unboundsoftware/auth0mock/auth"
|
||||
"git.unbound.se/unboundsoftware/auth0mock/handlers"
|
||||
"git.unbound.se/unboundsoftware/auth0mock/store"
|
||||
"gitlab.com/unboundsoftware/auth0mock/auth"
|
||||
"gitlab.com/unboundsoftware/auth0mock/handlers"
|
||||
"gitlab.com/unboundsoftware/auth0mock/store"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
module git.unbound.se/unboundsoftware/auth0mock
|
||||
module gitlab.com/unboundsoftware/auth0mock
|
||||
|
||||
go 1.26.0
|
||||
|
||||
require (
|
||||
github.com/alecthomas/kong v1.15.0
|
||||
github.com/google/uuid v1.6.0
|
||||
github.com/lestrrat-go/jwx/v4 v4.0.1
|
||||
github.com/lestrrat-go/jwx/v4 v4.0.0
|
||||
github.com/rs/cors v1.11.1
|
||||
)
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@ github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUq
|
||||
github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
|
||||
github.com/lestrrat-go/dsig v1.3.0 h1:phjMOCXvYzhuIgn7Voe2rex8z166vGfxRxmqM25P9/Q=
|
||||
github.com/lestrrat-go/dsig v1.3.0/go.mod h1:RD2eOaidyPvpc7IJQoO3Qq52RWdy8ZcJs8lrOnoa1Kc=
|
||||
github.com/lestrrat-go/jwx/v4 v4.0.1 h1:E/pDfwunh7sRynGSjR80hgHjLgiVK/2san6Mb5Aycdw=
|
||||
github.com/lestrrat-go/jwx/v4 v4.0.1/go.mod h1:F2a0rSyXsqLAL0orBZGOXrzQGv018Tx4eiEWWYR7Yzo=
|
||||
github.com/lestrrat-go/jwx/v4 v4.0.0 h1:r870BWSrLNaSErF5apqHSwF/mtgGgXT/H2G1dSI65xE=
|
||||
github.com/lestrrat-go/jwx/v4 v4.0.0/go.mod h1:F2a0rSyXsqLAL0orBZGOXrzQGv018Tx4eiEWWYR7Yzo=
|
||||
github.com/lestrrat-go/option/v3 v3.0.0-alpha1 h1:dvdzLwm/Ba5CJUF3jQP7w/iNYSLfy7yyh9XXNa1WjxI=
|
||||
github.com/lestrrat-go/option/v3 v3.0.0-alpha1/go.mod h1:5KSg20dfsKkNJtjDmaQRLZVXuUrzuCCcz/gbDK0pfKk=
|
||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"git.unbound.se/unboundsoftware/auth0mock/auth"
|
||||
"gitlab.com/unboundsoftware/auth0mock/auth"
|
||||
)
|
||||
|
||||
// DiscoveryHandler handles OIDC discovery endpoints
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"git.unbound.se/unboundsoftware/auth0mock/store"
|
||||
"gitlab.com/unboundsoftware/auth0mock/store"
|
||||
)
|
||||
|
||||
// ManagementHandler handles Auth0 Management API endpoints
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ import (
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
||||
"git.unbound.se/unboundsoftware/auth0mock/auth"
|
||||
"git.unbound.se/unboundsoftware/auth0mock/store"
|
||||
"gitlab.com/unboundsoftware/auth0mock/auth"
|
||||
"gitlab.com/unboundsoftware/auth0mock/store"
|
||||
)
|
||||
|
||||
//go:embed templates/login.html
|
||||
|
||||
+2
-2
@@ -5,8 +5,8 @@ import (
|
||||
"log/slog"
|
||||
"net/http"
|
||||
|
||||
"git.unbound.se/unboundsoftware/auth0mock/auth"
|
||||
"git.unbound.se/unboundsoftware/auth0mock/store"
|
||||
"gitlab.com/unboundsoftware/auth0mock/auth"
|
||||
"gitlab.com/unboundsoftware/auth0mock/store"
|
||||
)
|
||||
|
||||
// SessionHandler handles session-related endpoints
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
"kubernetes"
|
||||
],
|
||||
"matchPackageNames": [
|
||||
"oci.unbound.se/unboundsoftware/auth0mock"
|
||||
"registry.gitlab.com/unboundsoftware/auth0mock"
|
||||
],
|
||||
"enabled": false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user