-
Notifications
You must be signed in to change notification settings - Fork 27
Custom Auth failed when use littleskin.cn #136
Copy link
Copy link
Closed
Labels
[1.1] : FreesmFreesmLauncher componentFreesmLauncher component[2.4] : BugFixes an issue affecting functionality.Fixes an issue affecting functionality.[3.4] : Platform: Cross-PlatformTasks affecting all platforms.Tasks affecting all platforms.[4.0] : Component: AuthRelated to authentication or login.Related to authentication or login.[5.0] : User: End-UsersTasks aimed at end-users.Tasks aimed at end-users.[6.3] : Bug: CompatibilityCompatibility-related issues.Compatibility-related issues.[7.1] : IssueIssueIssue
Metadata
Metadata
Assignees
Labels
[1.1] : FreesmFreesmLauncher componentFreesmLauncher component[2.4] : BugFixes an issue affecting functionality.Fixes an issue affecting functionality.[3.4] : Platform: Cross-PlatformTasks affecting all platforms.Tasks affecting all platforms.[4.0] : Component: AuthRelated to authentication or login.Related to authentication or login.[5.0] : User: End-UsersTasks aimed at end-users.Tasks aimed at end-users.[6.3] : Bug: CompatibilityCompatibility-related issues.Compatibility-related issues.[7.1] : IssueIssueIssue
Operating System
Windows
Version of Prism Launcher
FreesmLauncher 1.4.4
Version of Qt
Same in FreesmLauncher Relese 1.4.4
Description of bug
I attempted to use littleskin.cn as the api address for Custom login, but the backend log output was 400 and an error was reported
Steps to reproduce
Use Custom Login
Input your account
input https://littleskin.cn/api/yggdrasil as the api
Login and check the launcher log
Suspected cause
I checked the CustomAuthStep.cpp and found the post body below
Unfortunately, the above-mentioned access format is incorrect for the vast majority of skin sites using yggdrasil, see Yggdrasil server api,the correct format is as below:
however, I forked the repo and changed the format, sure it could login in successfully, the skin didn't load correctly.
I guess this is a bug for most skin sites include littleskin, which is the biggest one in China
This issue is unique