Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Authorization code mismatch. Are you accessing this function correctly? Please go bac
#1
Not Solved
I have this error on the forum when trying to login


Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.

I followed the guide here but still the same problem:

https://community.mybb.com/thread-218862.html

Forum:  https://www.promo2day.com/

Mybb version:  1.8.20

PHP:  7.3.3
Reply
#2
Not Solved
This user has been denied support. This user has been denied support.
ACP: https://community.mybb.com/thread-126359.html

My post what worked, https://community.mybb.com/thread-222433.html
It worked for me.
Reply
#3
Not Solved
A guest's post_key is made up of a user's session ID, your database username, and MyBB's encryption key. I think the problem is that the guest's session ID keeps changing on your forum. Not too sure why.
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
Reply
#4
Not Solved
The problem is still present. I cannot solve it

All users can't login to the forum, since 1 day

Any suggestions?
Reply
#5
Not Solved
This user has been denied support. This user has been denied support.
Any suggestions? Please...
Reply
#6
Not Solved
Although its not recommended but if you have suffered a lot with "Authorization Code Mismatch" during login, completely stuck and can't do the officially recommended modifications manually just add this line in your footer template and it will handle the rest of the templates, wherever applicable:

<script>$('form :input[value="do_login"]').after('<input type="hidden" name="my_post_key" value="'+my_post_key+'" />');</script>

This code has a global impact. No matter what theme you are using or where you have placed your login form.
[Image: logo.svg.svg]
Reply
#7
Not Solved
(04-02-2019, 05:31 AM)effone Wrote: Although its not recommended but if you have suffered a lot with "Authorization Code Mismatch" during login, completely stuck and can't do the officially recommended modifications manually just add this line in your footer template and it will handle the rest of the templates, wherever applicable:

<script>$('form :input[value="do_login"]').after('<input type="hidden" name="my_post_key" value="'+my_post_key+'" />');</script>

This code has a global impact. No matter what theme you are using or where you have placed your login form.

This also helped me as well, why it's not recommended is there any abuse to it?
Reply
#8
Not Solved
No security flaw involved.
Post render DOM manipulation injecting sensitive hidden form data is just not desired method.

But its fine to use. Specially when the post key is already exposed in header.
[Image: logo.svg.svg]
Reply
#9
Not Solved
(04-02-2019, 08:48 AM)effone Wrote: No security flaw involved.
Post render DOM manipulation injecting sensitive hidden form data is just not desired method.

But its fine to use. Specially when the post key is already exposed in header.

Hello, I've tried everything, including this fix but I can't seem to get it to work.
Strange thing is, it only happens when I want to login on my mobile phone using the Chrome browser on Android. It keeps saying "authorization code mismatch". However on the desktop, running Windows 10 (again using Chrome browser) I have no problems at all, I can login just fine.

I'm running the latest version of MyBB by the way, 1.8.20
Reply
#10
Not Solved
Unfortunately, this did not work for me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)