Skip to content

Bearer Token Login Fix

TheCellMaster edited this page Mar 26, 2026 · 1 revision

Tutorial: How to Use a Bearer Token When Login Fails on Ninja

Problem: Login fails with "Bad Credentials" error in Ninja.

Steps

1. Log in to GameForge

Go to https://gameforge.com/ and log in with your account.

2. Open Developer Tools

Press F12 to open the browser developer tools, then go to the Network tab.

3. Filter Requests

In the Network filters, select Fetch/XHR.

4. Refresh the Page

Press F5 to refresh the page.

5. Find the Request

Look for a request named accounts.

6. Locate the Authorization Header

Open this request and navigate to:

Headers → Request Headers → Authorization

7. Copy the Token

In the Authorization header, you will see a value starting with Bearer.

Copy only the token value, removing the word Bearer and any leading spaces.

Example:

Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.xxxxx...

         ↓ copy only this part ↓

eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.xxxxx...

8. Use in Ninja

Paste the copied token value into Ninja as your authorization token.

9. Still Not Working?

If it still doesn't work, set a new password for your account and repeat the steps above.

Clone this wiki locally