Skip to main content

API Authentication (experimental)

In the version v0.1.0 of our SDK we added an experimental Authentication method for the UI (iFrame).

This allows you to perform your own registering/login with our API and the pass the user token directly to the iFrame application.

tip

To Register and Login users, read the API Documentation

Authenticating in the iFrame application​

To authenticate in the iFrame application you just need to call the method "Authenticate" in the UnionWebBrowser.

To do this in the UI we provide, just edit the WBP_Union_WebView under Plugins/UnionAvatarsUnrealSDK/Content/Blueprints/WebView.

Then add the method Authenticate. It takes a string paramenter, which should contain the user's Bearer Token. It must not contain the word Bearer before, just the token.

danger

The method must be called after the iFrame has been fully initialized. You can listen to this event by using the OnIFrameReady event.

Avatar cache setting