mantisbt-plugins / GoogleOauth

Google Oauth 2.0 function for mantisBT.
Other
9 stars 16 forks source link

Missing a step? #14

Open clan-destina opened 6 years ago

clan-destina commented 6 years ago

I installed the plugin according to instructions. It's not working do I have to change anything else? config_inc.php

luzpaz commented 6 years ago

Ditto. @alleen please elaborate what needs to happen? We don't see any icon to auto-login via google anywhere

clan-destina commented 6 years ago

No, I dont see a google icon on the login screen

lionelJKT commented 6 years ago

I'have the same issue. Nothing appear on the login page or anywhere else. I'm using MantisBT 2.13.

Here is the feedback from the console: Failed to load resource: the server responded with a status of 403 plugin.js:1 (Forbidden) access to plugin.js is 604 ... same error with 755

Thanks for your help...

lionelJKT commented 6 years ago

I've checked many things, still not understanding what happened. You can see it here https://helpdesk.lfjakarta.fr @clan-destina Did you find anything? Is that work for you now?

lionelJKT commented 6 years ago

I've deleted the .htaccess in /mantis/plugins/ Now, Sign with google button appears but nothing happen if I click on it...

lionelJKT commented 6 years ago

I've replaced frm.children('#sign_with_google').on('click', function(){ return false; });

by

frm.children('#sign_with_google').on('click', function(){
    return true;
});

and now the button is ok.

Why do I need to this ?

luzpaz commented 6 years ago

@lionelJKT did you ever get this to work ?

juansalcedo commented 5 years ago

@lionelJKT Where did you change this part of the code?

Did it work?

juansalcedo commented 5 years ago

I've replaced frm.children('#sign_with_google').on('click', function(){ return false; });

by

frm.children('#sign_with_google').on('click', function(){
    return true;
});

and now the button is ok.

Why do I need to this ?

This worked!

This code is located at /pages/assets/js/plugin.js

gotred25 commented 5 years ago

Hi, delete the .htaccess file in / mantis / plugins / and replace frm.children('#sign_with_google').on('click', function(){ return false; });

by

frm.children('#sign_with_google').on('click', function(){ return true; });

The button shows me but does nothing, what can I miss? Thank you

EmPo79 commented 4 years ago

I installed the plugin according to instructions. It's not working do I have to change anything else? config_inc.php

We have the same problem, can someonte tell us how to solve the problem. Thank you