Skip to content

Commit

Permalink
Fikset auth type for tilgang route
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsmsa committed Dec 11, 2024
1 parent 2f78ae6 commit 5839746
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ fun main() {
get("/internal/metrics") {
call.respondText(prometheusMeterRegistry.scrape())
}
authenticate(AuthProvider.TokenX.name) {
authenticate(AuthProvider.EntraId.name) {
post("/api/v1/tilgang") {
val request: TilgangskontrollRequestV1 = call.receive<TilgangskontrollRequestV1>()
val validertTilgangskontrollRequest = request.valider()
Expand Down

0 comments on commit 5839746

Please sign in to comment.