Skip to content

fix authentication#316

Merged
majd merged 1 commit into
majd:mainfrom
tux-mind:main
Dec 7, 2024
Merged

fix authentication#316
majd merged 1 commit into
majd:mainfrom
tux-mind:main

Conversation

@tux-mind

@tux-mind tux-mind commented Dec 4, 2024

Copy link
Copy Markdown
Contributor

Apple has introduced some dynamic GET parameters into their redirects, forcing us to use the main domain ( no p71- and such prefixes ) to obtain those parameters.

However, when following such redirects, we shall also increment the attempt parameter ( something that was hard-coded before ).

Apple has introduced some dynamic GET parameters into their
redirects, forcing us to use the main domain ( no `p71-`
and such prefixes ) to obtain those parameters.

However, when following such redirects, we shall also increment
the `attempt` parameter ( something that was hard-coded before ).
@mooring

mooring commented Dec 5, 2024

Copy link
Copy Markdown

Without the 2FA code, it works fine. Have you tested the two-step verification scenario?

I tested the two-step verification, and it prompted twice for a verification code. After entering the first code with an error response, it then showed the second prompted verification code, but the main process had exited with an error.

Is there something wrong?

image

@tux-mind

tux-mind commented Dec 5, 2024

Copy link
Copy Markdown
Contributor Author

@mooring have you used it with --auth-code xxxxxx ? It works on my end.
The only error I got was when I got a dialog on the device asking to allow the login from a new device, which is the expected behavior I guess.
I've also tried to auth revoke and re-auth and it works, but I guess that by using the same mac-address Apple caches the grant permission response.

@majd

majd commented Dec 7, 2024

Copy link
Copy Markdown
Owner

Great contribution! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants