Skip to content

Tags: supabase/auth

Tags

rc2.190.0-rc.27

Toggle rc2.190.0-rc.27's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(custom-oidc): support non-standard discovery URLs (#2573)

## What kind of change does this PR introduce?

Feature

## What is the current behavior?

`discoveryUrl` is only validated during provider creation (admin
endpoint)

## What is the new behavior?

use `discoveryUrl` while making the actual OIDC discovery too

## Summary
- Adds `OIDCProviderCache.GetProviderFromURL` so custom OIDC providers
can fetch their discovery document from any URL, not just
`{issuer}/.well-known/openid-configuration`.
- Custom OIDC providers now always route through this path; the URL is
sourced from `CustomOAuthProvider.GetDiscoveryURL()` (which falls back
to the standard path when no override is configured).
- Bounds discovery fetches with a 10s HTTP timeout and verifies the
document's `issuer` matches the configured one before constructing the
provider.

rc2.190.0-rc.26

Toggle rc2.190.0-rc.26's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(custom-oidc): strip trailing slashes from issuer (#2570)

## What kind of change does this PR introduce?

Bug fix

## summary
Fixes `GetDiscoveryURL` constructing a malformed URL (e.g.
`https://example.com//.well-known/openid-configuration`) when the
configured OIDC issuer has a trailing slash.

rc2.190.0-rc.25

Toggle rc2.190.0-rc.25's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: check session state for admin tokens (#2555)

## What kind of change does this PR introduce?

Bug fix

## What is the current behavior?

Middleware validates the session token has not expired.

## What is the new behavior?

Validates the token has not expired and that the session has not been
revoked.

## Additional context

Middleware checks for admin tokens should validate that the session is
still live. JWTs may be revoked but stay valid until the expiry time.

rc2.190.0-rc.24

Toggle rc2.190.0-rc.24's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(Dockerfile): ensure forks exists on fs before make deps (#2567)

Release action is
[failing](https://github.com/supabase/auth/actions/runs/27016942895/job/79738663274)
due to the Dockerfile calling make deps before the source for the
replace directive is set.

Co-authored-by: Chris Stockton <chris.stockton@supabase.io>

rc2.190.0-rc.23

Toggle rc2.190.0-rc.23's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(conf): add JSON config file support (#2540)

Adds two new replace directives to `go.mod` which point to the newly
created `internal/forks` directory:
* `github.com/joho/godotenv` => `./internal/forks/godotenv`
* `github.com/kelseyhightower/envconfig` => `./internal/forks/envconfig`

Each one is clone of the version we use from the public repos with no
additional changes made. This may be a repeatable pattern we could use
to work around some limitations of older packages and allow reaching
into internals to ease migrating away from them.

---------

Co-authored-by: Chris Stockton <chris.stockton@supabase.io>

rc2.190.0-rc.22

Toggle rc2.190.0-rc.22's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(passkeys): enforce AAL checks on passkey registration and deletion (

#2565)

If a user has a verified MFA factor enrolled, then enforce AAL2 for
passkey registration and deletion.

Note: we explicitly do not gate the passkey update operation since it
can only be used to update the `friendly_name` of the passkey.

rc2.190.0-rc.21

Toggle rc2.190.0-rc.21's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(passkeys): delete webauthn creds when user is soft-deleted (#2564)

Delete WebAuthn credentials when a user is soft deleted to prevent
authentication.

rc2.190.0-rc.19

Toggle rc2.190.0-rc.19's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Azure issuer validation (#2560)

Azure issuer validation fix

rc2.190.0-rc.18

Toggle rc2.190.0-rc.18's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add -failfast to make test command (#2553)

When builds fail you don't get feedback until all tests finish running.
In addtion it is also difficult to find which line failed, even if you
know what to search for.

Adding -testfail in the Makefile test target addresses causes tests to
stop on the first failure.

Co-authored-by: Chris Stockton <chris.stockton@supabase.io>

rc2.190.0-rc.15

Toggle rc2.190.0-rc.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(ci): pin Oriole image (#2556)

Pin Oriole DB image to latest working version as `latest` has caused
some instability in CI.