0
\$\begingroup\$

https://wiki.unrealengine.com/Building_On_Linux

When I run ./GenerateProjectFiles.sh I get this:

Github build Checking / downloading the latest archives

Please set OAUTH_TOKEN You can generate an access token at https://github.com/settings/tokens/new It must have repo scope

I have the token, how do I "set" it?

\$\endgroup\$
2
\$\begingroup\$

This is actually something that's not specific to Unreal Engine 4. OAuth is an authorization token so you don't need to log in with credentials. You first need to generate this token using your credentials. As your error message shows, you need to set your token. Before you set the token, you need to generate it. You do that at the link provided in your error.

Now that you have a token, you need to set it. As stated in the instructions found in your first link:

Create a new personal access token here: https://github.com/settings/tokens/new and set OAUTH_TOKEN environment variable to it.

Information for setting an environmental variable can be found here. Basically:

OAUTH_TOKEN=pathToToken
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.