Skip to content

Conversation

@commoddity
Copy link
Contributor

@commoddity commoddity commented Oct 10, 2025

🌿 Summary

Add Auth0 JWT configuration for Portal UI Row-Level Security (RLS) access

🌱 Primary Changes:

  • Implement dual JWT authentication supporting both backend services (HS256) and frontend users (RS256 via Auth0)
  • Add Row-Level Security policies for frontend users with user-scoped access to portal accounts and applications
  • Configure JWKS-based JWT verification with support for both symmetric (backend) and asymmetric (Auth0) keys
  • Create new authenticated_user role with RLS policies based on portal_account_rbac permissions

🍃 Secondary changes:

  • Update JWT generation script to support environment-based secret management and improved CLI options
  • Add JWKS file management with 1Password integration for Grove employees

Pascal van Leeuwen and others added 30 commits September 16, 2025 19:32
@commoddity commoddity changed the title [PostgREST][Portal DB] Add Auth0 JWT config for Portal UI RLS access [Merge after #472][PostgREST][Portal DB] Add Auth0 JWT config for Portal UI RLS access Oct 10, 2025
@commoddity commoddity self-assigned this Oct 10, 2025
@commoddity commoddity requested a review from Olshansk October 10, 2025 19:46
@commoddity commoddity added this to the Portal Features milestone Oct 10, 2025
@commoddity commoddity requested a review from fredteumer October 10, 2025 19:47
Base automatically changed from postgrest-sdk-typescript to main October 17, 2025 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants