Compare commits

..

9 Commits

Author SHA1 Message Date
releaser 95f2d06d78 chore(release): prepare for 0.7.4 (#308)
Release / release (push) Successful in 50s
auth0mock / build (push) Successful in 57s
## [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)

<!-- generated by git-cliff -->

---

**Note:** Please use **Squash Merge** when merging this PR.

Reviewed-on: #308
Co-authored-by: Unbound Releaser <releaser@unbound.se>
Co-committed-by: Unbound Releaser <releaser@unbound.se>
2026-05-04 08:51:39 +00:00
argoyle 20bd659c63 chore: update import paths and registry refs after move to gitea (#307)
auth0mock / build (push) Successful in 55s
Release / release (push) Failing after 52s
Repo moved from GitLab to Gitea (git.unbound.se). Updates Go module path, all internal Go imports, Renovate registry pkg name, .buildtools.yaml registry block, and Dockerfile (drops obsolete GOPRIVATE + GITLAB_USER/GITLAB_TOKEN).

Reviewed-on: #307
2026-05-04 08:34:23 +00:00
renovate 3fd070fbf3 fix(deps): update module github.com/lestrrat-go/jwx/v4 to v4.0.1 (#306)
auth0mock / build (push) Successful in 53s
Release / release (push) Failing after 54s
2026-05-01 14:04:09 +00:00
renovate 94959bda94 chore(deps): update golang:1.26 docker digest to b54cbf5 (#305)
Release / release (push) Failing after 1m2s
auth0mock / build (push) Successful in 1m25s
2026-04-27 00:03:39 +00:00
renovate 920a6c1349 chore(deps): update golang:1.26 docker digest to 1e598ea (#303)
Release / release (push) Successful in 1m15s
auth0mock / build (push) Successful in 1m40s
2026-04-22 15:03:07 +00:00
renovate 2cf360533e chore(deps): update golang:1.26 docker digest to f715906 (#301)
Release / release (push) Successful in 58s
auth0mock / build (push) Successful in 1m0s
2026-04-22 12:04:08 +00:00
releaser e75ea7f872 chore(release): prepare for 0.7.3 (#300)
Release / release (push) Successful in 1m2s
auth0mock / build (push) Successful in 1m18s
## [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)

<!-- generated by git-cliff -->

---

**Note:** Please use **Squash Merge** when merging this PR.

Reviewed-on: #300
Co-authored-by: Unbound Releaser <releaser@unbound.se>
Co-committed-by: Unbound Releaser <releaser@unbound.se>
2026-04-22 09:39:17 +00:00
renovate 30282f3458 fix(deps): update module github.com/lestrrat-go/jwx/v3 to v4 (#297)
Release / release (push) Successful in 56s
auth0mock / build (push) Successful in 5m0s
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [github.com/lestrrat-go/jwx/v3](https://github.com/lestrrat-go/jwx) | `v3.1.0` → `v4.0.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2flestrrat-go%2fjwx%2fv3/v4.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2flestrrat-go%2fjwx%2fv3/v3.1.0/v4.0.0?slim=true) |

---

### Release Notes

<details>
<summary>lestrrat-go/jwx (github.com/lestrrat-go/jwx/v3)</summary>

### [`v4.0.0`](https://github.com/lestrrat-go/jwx/releases/tag/v4.0.0)

[Compare Source](https://github.com/lestrrat-go/jwx/compare/v3.1.0...v4.0.0)

# Changes

v4 has many incompatibilities with v3. To see the full list of differences between
v3 and v4, please read the [Changes-v4.md file](./Changes-v4.md). Coding Agents should read [MIGRATION-v4.md](./MICRATION-v4.md)

v4.0.0 - 19 Apr 2026

- Initial v4 release. Major features:
  - Lighter: Core / Companion module separation. Less dependencies in core.
  - Faster: Use of generics and other optimizations make v4 2x\~3x faster than before.
  - Quantum-Ready: ML-KEM and ML-DSA, HPKE (+Hybrid) are supported through companion modules.
- See Changes-v4.md for a full set of Changes since v3.

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjYuMCIsInVwZGF0ZWRJblZlciI6IjQzLjEyNi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: Joakim Olsson <joakim@unbound.se>
Reviewed-on: #297
Co-authored-by: Renovate Bot <renovate@unbound.se>
Co-committed-by: Renovate Bot <renovate@unbound.se>
2026-04-22 09:05:25 +00:00
renovate fdd5e5a9a0 chore(deps): update golang:1.26 docker digest to 46d487a (#299)
Release / release (push) Failing after 1m1s
auth0mock / build (push) Successful in 2m5s
2026-04-22 08:03:37 +00:00
12 changed files with 64 additions and 22 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
{ {
"version": "0.7.2" "version": "0.7.4"
} }
+45
View File
@@ -2,6 +2,51 @@
All notable changes to this project will be documented in this file. 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 ## [0.7.2] - 2026-02-12
### 🐛 Bug Fixes ### 🐛 Bug Fixes
+2 -5
View File
@@ -1,11 +1,8 @@
FROM golang:1.26@sha256:5f3787b7f902c07c7ec4f3aa91a301a3eda8133aa32661a3b3a3a86ab3a68a36 AS build FROM golang:1.26@sha256:b54cbf583d390341599d7bcbc062425c081105cc5ef6d170ced98ef9d047c716 AS build
ARG GITLAB_USER
ARG GITLAB_TOKEN
WORKDIR /build WORKDIR /build
ENV CGO_ENABLED=0 ENV CGO_ENABLED=0
ENV GOPRIVATE=gitlab.com/unboundsoftware/* ENV GOEXPERIMENT=jsonv2
COPY go.mod go.sum ./ COPY go.mod go.sum ./
RUN go mod download RUN go mod download
+2 -2
View File
@@ -38,7 +38,7 @@ func NewJWTService(issuer, audience, adminClaim, emailClaim string) (*JWTService
} }
// Create JWK from private key // Create JWK from private key
key, err := jwk.Import(privateKey) key, err := jwk.Import[jwk.Key](privateKey)
if err != nil { if err != nil {
return nil, fmt.Errorf("create JWK from private key: %w", err) 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 // Create JWK from private key for signing
key, err := jwk.Import(s.privateKey) key, err := jwk.Import[jwk.Key](s.privateKey)
if err != nil { if err != nil {
return "", fmt.Errorf("create signing key: %w", err) return "", fmt.Errorf("create signing key: %w", err)
} }
+3 -3
View File
@@ -15,9 +15,9 @@ import (
"github.com/alecthomas/kong" "github.com/alecthomas/kong"
"github.com/rs/cors" "github.com/rs/cors"
"gitlab.com/unboundsoftware/auth0mock/auth" "git.unbound.se/unboundsoftware/auth0mock/auth"
"gitlab.com/unboundsoftware/auth0mock/handlers" "git.unbound.se/unboundsoftware/auth0mock/handlers"
"gitlab.com/unboundsoftware/auth0mock/store" "git.unbound.se/unboundsoftware/auth0mock/store"
) )
var ( var (
+2 -2
View File
@@ -1,11 +1,11 @@
module gitlab.com/unboundsoftware/auth0mock module git.unbound.se/unboundsoftware/auth0mock
go 1.26.0 go 1.26.0
require ( require (
github.com/alecthomas/kong v1.15.0 github.com/alecthomas/kong v1.15.0
github.com/google/uuid v1.6.0 github.com/google/uuid v1.6.0
github.com/lestrrat-go/jwx/v4 v4.0.0 github.com/lestrrat-go/jwx/v4 v4.0.1
github.com/rs/cors v1.11.1 github.com/rs/cors v1.11.1
) )
+2 -2
View File
@@ -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/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 h1:phjMOCXvYzhuIgn7Voe2rex8z166vGfxRxmqM25P9/Q=
github.com/lestrrat-go/dsig v1.3.0/go.mod h1:RD2eOaidyPvpc7IJQoO3Qq52RWdy8ZcJs8lrOnoa1Kc= github.com/lestrrat-go/dsig v1.3.0/go.mod h1:RD2eOaidyPvpc7IJQoO3Qq52RWdy8ZcJs8lrOnoa1Kc=
github.com/lestrrat-go/jwx/v4 v4.0.0 h1:r870BWSrLNaSErF5apqHSwF/mtgGgXT/H2G1dSI65xE= github.com/lestrrat-go/jwx/v4 v4.0.1 h1:E/pDfwunh7sRynGSjR80hgHjLgiVK/2san6Mb5Aycdw=
github.com/lestrrat-go/jwx/v4 v4.0.0/go.mod h1:F2a0rSyXsqLAL0orBZGOXrzQGv018Tx4eiEWWYR7Yzo= github.com/lestrrat-go/jwx/v4 v4.0.1/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 h1:dvdzLwm/Ba5CJUF3jQP7w/iNYSLfy7yyh9XXNa1WjxI=
github.com/lestrrat-go/option/v3 v3.0.0-alpha1/go.mod h1:5KSg20dfsKkNJtjDmaQRLZVXuUrzuCCcz/gbDK0pfKk= 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= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"encoding/json" "encoding/json"
"net/http" "net/http"
"gitlab.com/unboundsoftware/auth0mock/auth" "git.unbound.se/unboundsoftware/auth0mock/auth"
) )
// DiscoveryHandler handles OIDC discovery endpoints // DiscoveryHandler handles OIDC discovery endpoints
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"net/http" "net/http"
"strings" "strings"
"gitlab.com/unboundsoftware/auth0mock/store" "git.unbound.se/unboundsoftware/auth0mock/store"
) )
// ManagementHandler handles Auth0 Management API endpoints // ManagementHandler handles Auth0 Management API endpoints
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"net/http" "net/http"
"net/url" "net/url"
"gitlab.com/unboundsoftware/auth0mock/auth" "git.unbound.se/unboundsoftware/auth0mock/auth"
"gitlab.com/unboundsoftware/auth0mock/store" "git.unbound.se/unboundsoftware/auth0mock/store"
) )
//go:embed templates/login.html //go:embed templates/login.html
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"log/slog" "log/slog"
"net/http" "net/http"
"gitlab.com/unboundsoftware/auth0mock/auth" "git.unbound.se/unboundsoftware/auth0mock/auth"
"gitlab.com/unboundsoftware/auth0mock/store" "git.unbound.se/unboundsoftware/auth0mock/store"
) )
// SessionHandler handles session-related endpoints // SessionHandler handles session-related endpoints
+1 -1
View File
@@ -9,7 +9,7 @@
"kubernetes" "kubernetes"
], ],
"matchPackageNames": [ "matchPackageNames": [
"registry.gitlab.com/unboundsoftware/auth0mock" "oci.unbound.se/unboundsoftware/auth0mock"
], ],
"enabled": false "enabled": false
} }