The code you are looking for in Oasis Escape is 7942.
Enter it at the prompt where the game asks for the sequence and the next area should open up. Codes like this one are usually fixed rather than randomised, so the same four digits work for most players — which is why walkthroughs can list them at all.
If it does not take, double-check that you are on the current version of the game and that you typed the digits in order without spaces. A handful of browser-game updates shuffle puzzle answers, and an outdated guide will send you in circles.
Hope that gets you out of the oasis.