How‐to: create the access and refresh token - ReneNulschDE/mbapi2020 GitHub Wiki
File is work in progress...
MacOS
- Minimum MacOS version: 13.7
- Download the latest macos package
- Install the package
- Run the app "MBAPI2020 Token Helper"
- Click "Start Authentication", a MacOS warning will appear - click on continue
- Safari will start and ask for your MB credentials
- At the end of the process, the Tokens are visible in the app.
Windows (10 or higher)
-
Download and install the .NET Runtime 8
-
Download the latest package for your processor architecture
-
Unzip the file
-
Start
mb-token-requester.exe
Note: Do not start it from a network share as this will prevent the needed inter-process communication
- The app will open a standard browser window
- Enter you're MB credentials and allow the URlhandler process start
- At the end of the process, the Tokens are visible in the app.
Linux-x64
Most desktop distributions like CentOS Stream, Debian, Fedora, Ubuntu, and derivatives) only
Step 4 and 5 can be different in your distro. Tested with Ubuntu 24.10
- Download and install the .NET Runtime 8
- Download the latest package ()
- Modify the
mb-shortcut-handler.desktop
file and set the correct file location in the line "Exec..." - Copy the file
mb-shortcut-handler.desktop
to~/.local/share/applications/
- Run
update-desktop-database -v ~/.local/share/applications
to update the mimetype-cache - Make the program executable with
chmod +x mb-token-requester
- Start
mb-token-requester
- The app will open a standard browser window
- Enter you're MB credentials and allow the URlhandler process start
- At the end of the process, the Tokens are visible in the app.