Files
UnrealEngineUWP/Engine/Source/Programs/OidcToken
Joakim Lindqvist fe4e30db12 OidcToken - Bug fixes
* Create output directory for temp file if its missing
* Corrected logic for tokens that do not expire (they are set to expire at 0 which we didn't treat correctly)
* Make sure to save the new refresh token we get after using a old one, resolves issues for horde.exe that had to prompt users for logins more often then it should need to.

#jira UE-191887

[CL 27234199 by Joakim Lindqvist in ue5-main branch]
2023-08-21 04:02:20 -04:00
..
2023-08-21 04:02:20 -04:00

OidcToken is a small tool to help expose the ability to allocate access and refresh tokens from a Oidc compatible Identity Provider.

Configuration

Configuration file can be placed under Engine\Programs\OidcToken\oidc-configuration.json or <Game>\Programs\OidcToken\oidc-configuration.json

The configuration file can look like this:

{
	"OidcToken": {
		"Providers": {
			"MyOwnProvider": {
				"ServerUri": "https://<url-to-your-provider>",
				"ClientId": "<unique-id-from-provider-usually-guid>",
				"DisplayName": "MyOwnProvider",
				"RedirectUri": "http://localhost:6556/callback", // this needs to match what is configured as the redirect uri for your IdP
                "PossibleRedirectUri": [
					"http://localhost:6556/callback",
					"http://localhost:6557/callback",
				], // set of redirect uris that can be used, ports can be in use so it is a good idea to configure a few alternatives. these needs to match configuration in IdP
				"Scopes": "openid profile offline_access" // these scopes are the basic ones you will need, some system may require more and they may be named differently
			}
		}
	}
}