docs/content/integration/openid-connect/clients/unreal-engine/index.md
{{% oidc-common %}}
This example makes the following assumptions:
https://unreal-engine.{{< sitevar name="domain" nojs="example.com" >}}/https://{{< sitevar name="subdomain-authelia" nojs="auth" >}}.{{< sitevar name="domain" nojs="example.com" >}}/unreal-engineSome of the values presented in this guide can automatically be replaced with documentation variables.
{{< sitevar-preferences >}}
The following YAML configuration is an example Authelia client configuration for use with Unreal Engine which will operate with the application example:
identity_providers:
oidc:
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
## See: https://www.authelia.com/c/oidc
clients:
- client_id: 'unreal-engine'
client_name: 'Unreal Engine'
public: true
authorization_policy: 'two_factor'
require_pkce: false
pkce_challenge_method: ''
redirect_uris:
- 'https://unreal-engine.{{< sitevar name="domain" nojs="example.com" >}}/auth/openid_connect'
scopes:
- 'openid'
- 'groups'
response_types:
- 'code'
grant_types:
- 'authorization_code'
access_token_signed_response_alg: 'none'
userinfo_signed_response_alg: 'none'
token_endpoint_auth_method: 'client_secret_basic'
To configure Unreal Engine there is one method, using the Configuration File.
To configure Unreal Engine to utilize Authelia as an OpenID Connect 1.0 Provider, use the following configuration:
{
"ServerUrl": "https://unreal-engine.{{< sitevar name="domain" nojs="example.com" >}}",
"HttpsPort": "443",
"AuthMethod": "OpenIdConnect",
"OidcAuthority": "https://{{< sitevar name="subdomain-authelia" nojs="auth" >}}.{{< sitevar name="domain" nojs="example.com" >}}",
"OidcAudience": "unreal-engine",
"OidcClientId": "unreal-engine",
"OidcClientSecret": "insecure-secret",
"OidcSigninRedirect": "https://unreal-engine.{{< sitevar name="domain" nojs="example.com" >}}/auth/openid_connect",
"OidcRequestedScopes": "openid groups",
"OidcClaimHordeUserMapping": ["groups"],
"AdminClaimType": "http://epicgames.com/ue/horde/role",
"AdminClaimValue": "unreal-engine-admin"
}