Jump to content

Sign in through Google


Lavo

Recommended Posts

  • Replies 375
  • Created
  • Last Reply

excellent that worked great :smile: much appreciated for a great addon, do you also have one for twitter and facebook?

they are stock? :)

http://community.invisionpower.com/resources/documentation/index.html/_/new-docs/ipboard/promotion/twitter-login-integration-r665

http://community.invisionpower.com/resources/documentation/index.html/_/new-docs/ipboard/promotion/facebook-login-integration-r662

(these links will likely end up broken later when those are consolidated into the guides BTW)

Link to comment
Share on other sites

see this post and the one below, and this... if you are 100% certain it will fit... merely edit the hook point and template.

there are 2 reasons I cannot ship it like that:

A: if both twitter and facebook login are disabled, my button would vanish.

B: it won't fit on that line with facebook, twitter, and another login mod enabled on the stock skin.

Link to comment
Share on other sites

there's no difference? :smile: can change the language strings for all it matters honestly... for all it matters it could be changed to Login through YouTube, they are all the same account.

Yeah, I was just thinking about the graphics. I know it's still a Google account :)

Link to comment
Share on other sites

A little thing:

<img src='{$this->settings['css_base_url']}/style_extra/signin/login-google-icon.png' />

must be:


<img src='{$this->settings['css_base_url']}style_extra/signin/login-google-icon.png' />

thanks...... fixing, here's wishing replacements worked.

Yeah, I was just thinking about the graphics. I know it's still a Google account :smile:

shrugs... kk, suppose I can add a setting for icon to use.....

Link to comment
Share on other sites

I have suspicions that Google will disallow the "old" login API though soon that this uses. ;)

There does seem to be a number of changes - specifically that everything appears in your Google+ apps section (if I'm understanding it correctly)

Link to more information?

https://developers.google.com/accounts/docs/OAuth2WebServer this is old now? The replacement authentication protocol being...

Note: If you are planning to provide a “sign-in with Google” feature, we recommend using Google+ Sign-in, which provides the OAuth 2.0 authentication mechanism along with additional access to Google desktop and mobile features.

I can easily swap over, but is still OAuth 2.0 using the very same endpoint they are for Google+ sign in... there is no difference literal in the functionality offered in this https://developers.google.com/+/web/signin/server-side-flow

They are using the same API I am, they just re-branded it. I am using not their libraries(and will not, eeew!), I am using my own, with access to all the same endpoints without the globals and file weight their library entails, using classFilemanagement to emulate the OAuth2 flow.

They would have to change the endpoint THEY are referencing for Google+ Sign-In to break what I am doing.

Link to comment
Share on other sites

Sorry. Glanced over the bit about OAuth. I'll get my coat. ;)

I'll end up switching anyway(already using OAuth2 flow, and CSRF protection being inbuilt already), but having had thumbshots pull the rug out from me this week, the thought of this immediately and suddenly going left provoked a need to know. :smile:

Oooh, mobile. ;)

Link to comment
Share on other sites

Okay I'm not sure what is wrong I've gone through the pages and couldnt really find a fix

Redirects:
https://www.techabyte.com.au/oauth2callback
https://techabyte.com.au/interface/board/google.php
https://techabyte.com.au/interface/board/linkgoogle.php

Javascript
https://techabyte.com.au

For login's I did get ssl so it should work https... for somereason when you click allow it sometimes loops and continues to ask then eventually it will say signing in then it just takes me to a 404 which is the link bellow... :/

https://techabyte.com.au/interface/board/http%3A%2F%2Ftechabyte.com.au%2Fpage%2Findex.html

Not sure what to do....

Also to add there are times where after you click allow it just takes me back to the home page without errors and not signed in....

Also when I clicked on create server key I added the IP address of the host box (info from cpanel)

Created new key with any IP still same issue

Link to comment
Share on other sites

Okay I'm not sure what is wrong I've gone through the pages and couldnt really find a fix

Redirects:
https://www.techabyte.com.au/oauth2callback
https://techabyte.com.au/interface/board/google.php
https://techabyte.com.au/interface/board/linkgoogle.php

Javascript
https://techabyte.com.au

For login's I did get ssl so it should work https... for somereason when you click allow it sometimes loops and continues to ask then eventually it will say signing in then it just takes me to a 404 which is the link bellow... :/

https://techabyte.com.au/interface/board/http%3A%2F%2Ftechabyte.com.au%2Fpage%2Findex.html

Not sure what to do....

Also to add there are times where after you click allow it just takes me back to the home page without errors and not signed in....

Also when I clicked on create server key I added the IP address of the host box (info from cpanel)

Created new key with any IP still same issue

Cannot Reproduce: This means(in this case) that the developer has visited your site, logged in through google successfully, creating an account as a result, logged out, and logged back in and out on several pages of your site without issue.

Link to comment
Share on other sites

Cannot Reproduce: This means(in this case) that the developer has visited your site, logged in through google successfully, creating an account as a result, logged out, and logged back in and out on several pages of your site without issue.

So you do not get redirected to a 404 it works perfectly fine?

Link to comment
Share on other sites

Indeed.

Confused however... entering your domain root directly upon visiting your site initially produced a 404, refresh redirected to the content home page.

Nothing to do with this mod AFAIK.

Yeah its weird sometimes it works sometimes it doesnt

like now im getting 404 once again with

https://techabyte.com.au/interface/board/http%3A%2F%2Ftechabyte.com.au%2Fpage%2Findex.html

on a complete new linux setup on a laptop 404 why does it go to iterface/board / then the URL it was in.... arghhh

EDIT:

Okay ive notice if im on the "forum page" which is techabyte.com.au/index it works fine...

But on the home page which is IP.Content it uses techabyte.com.au/pages/index.html now if you sign in from google from that page it just goes insane... any idea wat I can do to fix this :/

Update1:

I ticked "Omit page name in URL" within IP.COntent page management for index.html and it seems to work now when signing in from main page... so main page and forum page work fine now but for example if you sign in from contact us page it spits the dummy... hrm

Link to comment
Share on other sites

I'll end up switching anyway(already using OAuth2 flow, and CSRF protection being inbuilt already), but having had thumbshots pull the rug out from me this week, the thought of this immediately and suddenly going left provoked a need to know. :smile:

Oooh, mobile. ;)

I'm struggling to get Google login working on mobile skin. It works for full skin but nothing showing up on mobile. Any extra steps I need to take?

Link to comment
Share on other sites

it only displays as a checkbox option on the login form in mobile currently.

It's not showing up at all for me. Latest version of IPB.

Check this page (use IPB default if you want): http://dev.ibsurvival.com/index.php?app=core&module=global&section=login

Then change to mobile and you'll see it doesn't appear.

I just installed your hook yesterday, so everything is default.

Thanks again for awesome work though!

Link to comment
Share on other sites

It's not showing up at all for me. Latest version of IPB.

Check this page (use IPB default if you want): http://dev.ibsurvival.com/index.php?app=core&module=global&section=login

Then change to mobile and you'll see it doesn't appear.

I just installed your hook yesterday, so everything is default.

Thanks again for awesome work though!

thanks, it appears 3.4.3 mussed that, sorting it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...