Auth Me

Auth Me

6M Downloads

Please consider adding the "login_hint" parameter

fish90815 opened this issue ยท 3 comments

commented

Is your feature request related to a problem?

Sorry for my bad English! I'll try my best to explain it!
I have multiple accounts which log on several different Minecraft instance.
The problem is prompt = select_account always needed to select via browser which is a pain for me.

Recently I'm writing some scripts to test the oAuth and notice that adding
&login_hint = my account name,
which is trusted and authentication before, can directly get the auth code without selecting.(just one click like prompt none or default)

Describe the solution you'd like.

Just simply add a new text block for custom "login_hint" parameter to the config page.
and simply concat that parameter with the whole URL.

Describe alternatives you've considered.

I've tried several ways to deal with this problem, but none of those as simple as adding a single parameter behind the URL.

Agreements

  • I have searched for and ensured there isn't already an open issue regarding this.
  • I have ensured the feature I'm requesting isn't already in the latest supported mod version.

Other

No response

commented

Hi @roberestarkk,

You can ask it to prompt you to choose an account by going to the mod list, finding Auth Me, clicking on settings, and then changing the Microsoft interaction prompt to select_account. It's towards the end of the GIF in the mod description.

Let me know how you go,
Ax.

commented

I have this same exact issue where I have multiple Microsoft accounts, my main server admin account, and a regular user test account.

It would be cool if instead of/as well as the login hint, if when clicking 'Microsoft' and having it open a page on localhost, if that page would first wait for a button to be clicked before it proceeded with it's shenaniganery.
That would allow us to copy that url from the default browser, and paste it into an account container tab, or a different browser, or a private browsing window or something, so that then when we clicked the button it'd use the cached authentication (or cookie or something) from the account that we 'selected' by pasting the URL into the appropriate context.

A potentially neater alternative could be to show the URL in the Minecraft client itself after selecting that option, and have a button to open it in the browser, and another button to copy it to clipboard to open however/wherever you wanted...

commented

Oh that works great, cheers :D