Skip to content

openfort-xyz/sample-unity-webgl-embedded-signer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedded Smart Account in Unity

Showcase of email & password and Google OAuth:

Features

How to run locally

1. Clone and configure the sample

git clone https://github.com/openfort-xyz/samples
cd sample-unity-auth-embedded-signer

You will need an Openfort account in order to run the demo. Once you set up your account, go to the Openfort developer dashboard to find your API keys.

Then, navigate to Assets/Scripts/LoginSceneManager.cs and replace YOUR_PUBLISHABLE_KEY the following values with your own:

OpenfortAuth authClient = new OpenfortAuth("YOUR_PUBLISHABLE_KEY");

2. Configure Authentication Providers

From your Openfort dashboard, head to Player Authentication and enable the Google provider.

config-provider.png

Get support

If you found a bug or want to suggest a new [feature/use case/sample], please file an issue.

If you have questions, comments, or need help with code, we're here to help: