Add notes, update readme, add default client id.
This commit is contained in:
parent
160b62970b
commit
16b28db907
@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
* 🔒 Full account management.
|
* 🔒 Full account management.
|
||||||
* Add multiple accounts and easily switch between them.
|
* Add multiple accounts and easily switch between them.
|
||||||
|
* Microsoft (OAuth 2.0) + Mojang (Yggdrasil) authentication fully supported.
|
||||||
* Credentials are never stored and transmitted directly to Mojang.
|
* Credentials are never stored and transmitted directly to Mojang.
|
||||||
* 📂 Efficient asset management.
|
* 📂 Efficient asset management.
|
||||||
* Receive client updates as soon as we release them.
|
* Receive client updates as soon as we release them.
|
||||||
@ -180,13 +181,15 @@ Note that you **cannot** open the DevTools window while using this debug configu
|
|||||||
|
|
||||||
Please give credit to the original author and provide a link to the original source. This is free software, please do at least this much.
|
Please give credit to the original author and provide a link to the original source. This is free software, please do at least this much.
|
||||||
|
|
||||||
|
For instructions on setting up Microsoft Authentication, see https://github.com/dscalzi/HeliosLauncher/blob/feature/ms-auth/docs/MicrosoftAuth.md.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Resources
|
## Resources
|
||||||
|
|
||||||
* [Wiki][wiki]
|
* [Wiki][wiki]
|
||||||
* [Nebula (Create Distribution.json)][nebula]
|
* [Nebula (Create Distribution.json)][nebula]
|
||||||
* [v2 Rewrite Branch (WIP)][v2branch]
|
* [v2 Rewrite Branch (Inactive)][v2branch]
|
||||||
|
|
||||||
The best way to contact the developers is on Discord.
|
The best way to contact the developers is on Discord.
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
exports.AZURE_CLIENT_ID = 'FILL-IN'
|
// NOTE FOR THIRD-PARTY
|
||||||
|
// REPLACE THIS CLIENT ID WITH YOUR APPLICATION ID.
|
||||||
|
// SEE https://github.com/dscalzi/HeliosLauncher/blob/feature/ms-auth/docs/MicrosoftAuth.md
|
||||||
|
exports.AZURE_CLIENT_ID = '1ce6e35a-126f-48fd-97fb-54d143ac6d45'
|
||||||
|
// SEE NOTE ABOVE.
|
||||||
|
|
||||||
|
|
||||||
|
// Opcodes
|
||||||
exports.MSFT_OPCODE = {
|
exports.MSFT_OPCODE = {
|
||||||
OPEN_LOGIN: 'MSFT_AUTH_OPEN_LOGIN',
|
OPEN_LOGIN: 'MSFT_AUTH_OPEN_LOGIN',
|
||||||
OPEN_LOGOUT: 'MSFT_AUTH_OPEN_LOGOUT',
|
OPEN_LOGOUT: 'MSFT_AUTH_OPEN_LOGOUT',
|
||||||
REPLY_LOGIN: 'MSFT_AUTH_REPLY_LOGIN',
|
REPLY_LOGIN: 'MSFT_AUTH_REPLY_LOGIN',
|
||||||
REPLY_LOGOUT: 'MSFT_AUTH_REPLY_LOGOUT'
|
REPLY_LOGOUT: 'MSFT_AUTH_REPLY_LOGOUT'
|
||||||
}
|
}
|
||||||
|
// Reply types for REPLY opcode.
|
||||||
exports.MSFT_REPLY_TYPE = {
|
exports.MSFT_REPLY_TYPE = {
|
||||||
SUCCESS: 'MSFT_AUTH_REPLY_SUCCESS',
|
SUCCESS: 'MSFT_AUTH_REPLY_SUCCESS',
|
||||||
ERROR: 'MSFT_AUTH_REPLY_ERROR'
|
ERROR: 'MSFT_AUTH_REPLY_ERROR'
|
||||||
}
|
}
|
||||||
|
// Error types for ERROR reply.
|
||||||
exports.MSFT_ERROR = {
|
exports.MSFT_ERROR = {
|
||||||
ALREADY_OPEN: 'MSFT_AUTH_ERR_ALREADY_OPEN',
|
ALREADY_OPEN: 'MSFT_AUTH_ERR_ALREADY_OPEN',
|
||||||
NOT_FINISHED: 'MSFT_AUTH_ERR_NOT_FINISHED'
|
NOT_FINISHED: 'MSFT_AUTH_ERR_NOT_FINISHED'
|
||||||
|
Loading…
Reference in New Issue
Block a user