mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 21:10:30 +01:00
[PR #98] [CLOSED] feat(oidc): refresh_token support via offline_access scope #168
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/yusing/godoxy/pull/98
Author: @yusing
Created: 4/23/2025
Status: ❌ Closed
Base:
dev← Head:hotfix/oidc📝 Commits (10+)
aad4403chore: add rule files and debug dir to .gitignore8f03662chore: upgrade go to 1.24.2 and dependencies36fab0cfix(oidc): simplify and fix oidc middleware url handling6277622refactor(oidc): simplify initiialization flow, replace go-oidc with own forked version23482dafix(route): panic on middleware errord60688cfix(route): error not being returned5a984f5chore: remove unused debugging printing0a8aa2bfix(oidc): use XFH header from backend for cookie domainef48340security: drop service headers077641brefactor(oidc): simplify exchange method📊 Changes
29 files changed (+867 additions, -497 deletions)
View changed files
📝
.env.example(+10 -7)📝
.gitignore(+3 -0)📝
Dockerfile(+1 -1)📝
cmd/main.go(+1 -1)📝
go.mod(+25 -23)📝
go.sum(+52 -48)📝
internal/api/handler.go(+12 -15)➖
internal/api/v1/auth/oidc.go(+0 -308)➖
internal/api/v1/auth/provider.go(+0 -13)📝
internal/auth/auth.go(+8 -0)📝
internal/auth/block_page.go(+0 -0)📝
internal/auth/block_page.html(+0 -0)➕
internal/auth/oauth_refresh.go(+185 -0)➕
internal/auth/oidc.go(+314 -0)📝
internal/auth/oidc_test.go(+46 -16)➕
internal/auth/provider.go(+9 -0)📝
internal/auth/userpass.go(+6 -9)📝
internal/auth/userpass_test.go(+1 -1)📝
internal/auth/utils.go(+23 -21)📝
internal/common/constants.go(+2 -0)...and 9 more files
📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.