<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/proof-key-for-code-exchange-pkce-in-web-applications-with-spring-security-pt1andvh7" -->

---
title: Proof Key for Code Exchange (PKCE) in Web Applications...
description: Learn how to enable Proof Key for Code Exchange (PKCE) in a Spring Boot confidential client, adhering to OAuth 2.0 Security Best Current Practice (BCP).
canonical: https://daily.dev/posts/proof-key-for-code-exchange-pkce-in-web-applications-with-spring-security-pt1andvh7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Proof Key for Code Exchange (PKCE) in Web Applications with Spring Security | daily.dev
og:description: Learn how to enable Proof Key for Code Exchange (PKCE) in a Spring Boot confidential client, adhering to OAuth 2.0 Security Best Current Practice (BCP).
og:url: https://daily.dev/posts/proof-key-for-code-exchange-pkce-in-web-applications-with-spring-security-pt1andvh7
og:image: https://api.daily.dev/og/posts/pt1ANdVH7.png
og:image:alt: Proof Key for Code Exchange (PKCE) in Web Applications with Spring Security
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.

# Proof Key for Code Exchange (PKCE) in Web Applications with Spring Security

**[Auth0](https://daily.dev/sources/auth0)** · 11 min read · 5 upvotes · 0 comments

## Summary

Learn how to enable Proof Key for Code Exchange (PKCE) in a Spring Boot confidential client, adhering to OAuth 2.0 Security Best Current Practice (BCP).

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://auth0.com/blog/pkce-in-web-applications-with-spring-security/>

---

Tags: [#authentication](https://daily.dev/tags/authentication), [#spring-security](https://daily.dev/tags/spring-security)

[View this post on daily.dev](https://daily.dev/posts/proof-key-for-code-exchange-pkce-in-web-applications-with-spring-security-pt1andvh7)

```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":"Proof Key for Code Exchange (PKCE) in Web Applications with Spring Security","url":"https://daily.dev/posts/proof-key-for-code-exchange-pkce-in-web-applications-with-spring-security-pt1andvh7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/proof-key-for-code-exchange-pkce-in-web-applications-with-spring-security-pt1andvh7"},"datePublished":"2024-04-23T15:05:43.512Z","dateModified":"2024-05-09T09:15:49.869Z","description":"Learn how to enable Proof Key for Code Exchange (PKCE) in a Spring Boot confidential client, adhering to OAuth 2.0 Security Best Current Practice (BCP).","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8b2c819e527f5b51fbbee8a9bef784f7?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8b2c819e527f5b51fbbee8a9bef784f7?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Auth0","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":"Auth0","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6510ffa7350449618fbacdddae663b82","url":"https://daily.dev/sources/auth0"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/proof-key-for-code-exchange-pkce-in-web-applications-with-spring-security-pt1andvh7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"authentication,spring-security","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Auth0","item":"https://daily.dev/sources/auth0"},{"@type":"ListItem","position":3,"name":"Proof Key for Code Exchange (PKCE) in Web Applications with Spring Security"}]}
```

