Skip to content

refactor: simplify NDLA and Feide auth logic#949

Merged
amatho merged 1 commit into
masterfrom
refactor/simplify-auth
May 12, 2026
Merged

refactor: simplify NDLA and Feide auth logic#949
amatho merged 1 commit into
masterfrom
refactor/simplify-auth

Conversation

@amatho
Copy link
Copy Markdown
Contributor

@amatho amatho commented May 7, 2026

Flytter henholdsvis Feide og Auth0 auth-logikk til FeideAuth og NdlaAuth, og sørger for at vi bruker så mye som mulig av Tapir sine metoder for å definere auth inputs. Gjør at TapirController blir en del lettere å lese, og vi får samlet alt av auth-logikk i ett sted

@amatho amatho force-pushed the refactor/simplify-auth branch 2 times, most recently from 5b08905 to 6cb8030 Compare May 7, 2026 12:30
@amatho amatho requested a review from a team May 7, 2026 12:51
Comment thread network/src/main/scala/no/ndla/network/tapir/auth/FeideAuth.scala
Comment thread network/src/main/scala/no/ndla/network/tapir/auth/NdlaAuth.scala
Copy link
Copy Markdown
Contributor

@jnatten jnatten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (men hadde likt om den andre pr'en fiksa swagger auth+bad request greiene)

@amatho amatho force-pushed the refactor/simplify-auth branch from 6cb8030 to 4f15929 Compare May 12, 2026 07:00
@amatho amatho force-pushed the refactor/simplify-auth branch from 4f15929 to 9580be5 Compare May 12, 2026 07:05
@amatho amatho merged commit 257a551 into master May 12, 2026
39 checks passed
@amatho amatho deleted the refactor/simplify-auth branch May 12, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants