Skip to content

[WIP] Drop dependency on auth0 #1247

@OliverDudgeon

Description

@OliverDudgeon

Motivation

Currently we use the nextjs-auth0 package despite using Keycloak as our auth provider. Since auth0 doesn't exactly implement OAuth 2.x and OIDC 1, we should ideally not be using this package. Keycloak lacks good off the shelf adapters for NextJS. 2

Options

Implement Own Adapater

This shouldn't be too tricky as it's just web requests for tokens. This will need to integrate with the different parts of NextJS: API routes, middleware, RSCs.

Footnotes

  1. Need to find docs listing differences

  2. There are React ones but these don't work great with NextJS's server side stuff.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions