NBS Server App Sample
Frontend SSO → Backend API calls (Federate relay + M2M)
📡 Call Backend (Federate Relay)
Frontend sends the Federate access token to your backend. Backend relays it to NBS API on behalf of the user.
🤖 Call Backend (M2M)
Backend uses its own Cognito M2M token to call NBS API. No user token needed — the backend acts as a service.