Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing a step? #14

Open
clan-destina opened this issue Mar 4, 2018 · 11 comments
Open

Missing a step? #14

clan-destina opened this issue Mar 4, 2018 · 11 comments

Comments

@clan-destina
Copy link

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

@luzpaz
Copy link
Contributor

luzpaz commented Mar 4, 2018

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

@clan-destina
Copy link
Author

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

@lionelJKT
Copy link

lionelJKT commented Apr 25, 2018

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
Copy link

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
Copy link

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

@lionelJKT
Copy link

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
Copy link
Contributor

luzpaz commented Aug 31, 2018

@lionelJKT did you ever get this to work ?

@juansalcedo
Copy link

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

Did it work?

@juansalcedo
Copy link

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
Copy link

gotred25 commented Jan 7, 2019

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
Copy link

EmPo79 commented Jan 23, 2020

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

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

No branches or pull requests

6 participants