<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/add-step-up-authentication-using-angular-and-nestjs-wyoubhgzo" -->

---
title: Add Step-up Authentication Using Angular and NestJS
description: This post demonstrates how to add step-up authentication to an Angular frontend and NestJS backend using the OAuth 2.0 Step Up Authentication Challenge...
canonical: https://daily.dev/posts/add-step-up-authentication-using-angular-and-nestjs-wyoubhgzo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Add Step-up Authentication Using Angular and NestJS | daily.dev
og:description: This post demonstrates how to add step-up authentication to an Angular frontend and NestJS backend using the OAuth 2.0 Step Up Authentication Challenge...
og:url: https://daily.dev/posts/add-step-up-authentication-using-angular-and-nestjs-wyoubhgzo
og:image: https://api.daily.dev/og/posts/WyOUBhGzO.png
og:image:alt: Add Step-up Authentication Using Angular and NestJS
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Step-up Authentication Using Angular and NestJS

**[Okta Dev](https://daily.dev/sources/okta)** · 14 min read · 12 upvotes · 0 comments

## Summary

This post demonstrates how to add step-up authentication to an Angular frontend and NestJS backend using the OAuth 2.0 Step Up Authentication Challenge Protocol. It covers setting up the authentication configuration, guarding routes with step-up authentication, and protecting API resources with the challenge. The post also mentions the possibility of ensuring authentication recency in step-up authentication.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://developer.okta.com/blog/2024/03/12/stepup-authentication>

---

Tags: [#authentication](https://daily.dev/tags/authentication), [#angular](https://daily.dev/tags/angular), [#oauth](https://daily.dev/tags/oauth), [#nestjs](https://daily.dev/tags/nestjs)

[View this post on daily.dev](https://daily.dev/posts/add-step-up-authentication-using-angular-and-nestjs-wyoubhgzo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Add Step-up Authentication Using Angular and NestJS","url":"https://daily.dev/posts/add-step-up-authentication-using-angular-and-nestjs-wyoubhgzo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/add-step-up-authentication-using-angular-and-nestjs-wyoubhgzo"},"datePublished":"2024-03-12T16:19:43.068Z","dateModified":"2024-05-09T08:43:33.910Z","description":"This post demonstrates how to add step-up authentication to an Angular frontend and NestJS backend using the OAuth 2.0 Step Up Authentication Challenge...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a77b228ce1695eec0edbcf2dc9046413?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a77b228ce1695eec0edbcf2dc9046413?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Okta Dev","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Okta Dev","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/17da1ccc02574ef9838f856af0e10def","url":"https://daily.dev/sources/okta"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/add-step-up-authentication-using-angular-and-nestjs-wyoubhgzo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":12},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"authentication,angular,oauth,nestjs","timeRequired":"PT14M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Okta Dev","item":"https://daily.dev/sources/okta"},{"@type":"ListItem","position":3,"name":"Add Step-up Authentication Using Angular and NestJS"}]}
```

