Control the size of compressed JWTs :: AM 7.2.2 (2024)

A number of AM features accept JWTs to receive information.Some examples are:

  • Remote consent, when it receives consent responses.

  • The OAuth 2.0/OpenID Connect authorization service, when:

    • OpenID Connect clients send request parametersas a JWT instead of as HTTP parameters.

    • OpenID Connect clients register dynamically usingsoftware statements.

  • The Authentication service, when configured to issueclient-side sessions.

The JWTs that AM receives can be signed and/or encrypted.Sometimes, larger JWTs are compressed to improve delivery speeds to AM.

Decompressing a JWT makes it expand in size.By default, AM rejects any JWT that expands to more than 32 KiB (32768 bytes),and throws an exception with a message similar to JWT payload decompressed to larger than maximum allowed size.

Ensure that the JWTs your clients send to AM are smaller than 32 KiB before compression.

Alteratively, increase the 32 KiB value to a reasonable limit.Take into account that AM performs decryption and decompression operations in its heap,and that you do not want to allow very large JWTs to, potentially, leave AM out of memory.

If you need to change the default value, perform the following steps:

  1. Configure the org.forgerock.json.jose.jwe.compression.max.decompressed.size.bytes Java system propertyon the container where AM runs.

    For example, edit the setenv.sh file of the Apache Tomcat instance,and set the property with the new size in bytes:

    JAVA_OPTS="$JAVA_OPTS -Dorg.forgerock.json.jose.jwe.compression.max.decompressed.size.bytes=40960"
  2. Restart the container for the changes to make effect.

Was this helpful?

Control the size of compressed JWTs :: AM 7.2.2 (2024)
Top Articles
About Google Wallet - Google Wallet Help
How Hard is it to Earn a 10X Return on Investment? - Scale Finance
Joliet Patch Arrests Today
Cars & Trucks - By Owner near Kissimmee, FL - craigslist
Katmoie
Tj Nails Victoria Tx
Comcast Xfinity Outage in Kipton, Ohio
414-290-5379
Craigslist Dog Kennels For Sale
Purple Crip Strain Leafly
Help with Choosing Parts
How to Store Boiled Sweets
Fredericksburg Free Lance Star Obituaries
Tracking Your Shipments with Maher Terminal
Letter F Logos - 178+ Best Letter F Logo Ideas. Free Letter F Logo Maker. | 99designs
Q33 Bus Schedule Pdf
Kiddle Encyclopedia
Conan Exiles: Nahrung und Trinken finden und herstellen
Palm Springs Ca Craigslist
Traveling Merchants Tack Diablo 4
Aerocareusa Hmebillpay Com
Glover Park Community Garden
Engineering Beauties Chapter 1
Silky Jet Water Flosser
What Individuals Need to Know When Raising Money for a Charitable Cause
Makemv Splunk
Pain Out Maxx Kratom
Delta Township Bsa
Cal State Fullerton Titan Online
Aes Salt Lake City Showdown
Hrconnect Kp Login
Combies Overlijden no. 02, Stempels: 2 teksten + 1 tag/label & Stansen: 3 tags/labels.
Rugged Gentleman Barber Shop Martinsburg Wv
Ff14 Sage Stat Priority
Kempsville Recreation Center Pool Schedule
Devotion Showtimes Near The Grand 16 - Pier Park
Aladtec Login Denver Health
Nobodyhome.tv Reddit
Raisya Crow on LinkedIn: Breckie Hill Shower Video viral Cucumber Leaks VIDEO Click to watch full…
Lyca Shop Near Me
NHL training camps open with Swayman's status with the Bruins among the many questions
Google Flights Orlando
Indio Mall Eye Doctor
Bartow Qpublic
The Attleboro Sun Chronicle Obituaries
Post A Bid Monticello Mn
Kaamel Hasaun Wikipedia
Hello – Cornerstone Chapel
Secrets Exposed: How to Test for Mold Exposure in Your Blood!
Horseneck Beach State Reservation Water Temperature
Houston Primary Care Byron Ga
Arre St Wv Srj
Latest Posts
Article information

Author: Velia Krajcik

Last Updated:

Views: 5869

Rating: 4.3 / 5 (74 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.