prayslaks - JWNetworkUtility — JWT HTTP API Client with Auto-Refresh & Blueprint Support

JWNetworkUtility is HTTP API client plugin for Unreal Engine 5.6+,

designed for games that communicate with backend servers using JWT authentication.

Test it now with pre-built FastAPI Server .exe and Test Level in the plugin's content folder.

(Now on Beta, Only in Unreal Engine 5.6+ and Windows Platform)

── CORE FEATURES ──

• JWT Token Management

Access token stored in memory. Refresh token encrypted via Windows DPAPI

(CryptProtectData) with device-specific entropy and persisted to disk.

• Automatic 401 Handling & Token Refresh

On a 401 response, requests are automatically queued per ServiceType.

A single refresh call is made, then all queued requests are retried transparently.

• Automatic Retry on Failure

Configurable retry behavior for 5xx errors, timeouts, and network failures

via FJWNU_RequestConfig.

• Dual Response Mode

- Raw Response: pass-through for full server control

- Custom Response: normalizes all outcomes to a consistent

{success, code, message} JSON structure for uniform game logic

(You can change the format by modifying the source code.)

• Blueprint & C++ Support

Full Blueprint API via BlueprintFunctionLibrary.

C++ template API (CallApi_Template<T>) for typed struct parsing.

Wildcard JSON ↔ USTRUCT conversion via CustomThunk for BP.

• Multi-Service Architecture

Separate host URLs, tokens, and refresh queues per ServiceType

(GameServer / AuthServer), configurable via INI.

── WHAT'S INCLUDED ──

• Full plugin source (C++)

• Test Level & UMG Blueprint examples

• FastAPI test server (Python source)

with JWT register/login/refresh/logout/CRUD endpoints

── REQUIREMENTS ──

• Unreal Engine 5.6+

• Windows (DPAPI encryption is platform-specific)

• C++ project required

── ABOUT ME ──

GitHub : https://github.com/prayslaks

LinkedIn : www.linkedin.com/in/jungwoounrealunitygame