Files
UnrealEngineUWP/Engine/Source/Programs/OidcToken
Joakim Lindqvist 9d1e86e2c3 OidcToken Fixes
Support multiple redirect uris (so that we can attempt to use multiple ports)
Handle invalid json in state file, ignoring the state file in those cases
Also made sure to delete oidc token result file after consuming it from the editor

#preflight 63d27dd26730a500ffafd80d
#fyi zousar.shaker

[CL 23882301 by Joakim Lindqvist in ue5-main branch]
2023-01-27 08:12:35 -05:00
..
2023-01-27 08:12:35 -05:00
2023-01-27 08:12:35 -05: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
			}
		}
	}
}