To start using JWT single sign-on, you need to generate a Public Key and Private Key for your Chargely site.
Obtaining a Public Key & Private Key¶
Log in to your Chargely account then go to your site’s dashboard.
From your site’s dashboard, click on “API” in the “Settings” dropdown.
Click on “Create a new API configuration”.
Enter a name for this configuration.
Use a descriptive name to indicate you are using this for SSO. Note the Public Key and Private Key and store them in a safe place.
Never give out your Private Key or allow it to be exposed to prying eyes. Your Public Key is okay for sharing.
- Click “Save”.
Your Public Key and Private Key are now available for use by your single sign-on code.