Code Monkey home page Code Monkey logo

Comments (11)

lowlander07 avatar lowlander07 commented on July 23, 2024

Ran into the same problem. For 'Smart Home' Google does not support the OAuth implicit code flow anymore.

from gbridge.

jaburges avatar jaburges commented on July 23, 2024

so is this DOA then now?

from gbridge.

werty1st avatar werty1st commented on July 23, 2024

i tried to implement something of this: https://laravel.com/docs/6.x/passport#code-grant-pkce
but it looks like the gBridge is developed in laravel 5.5 and I don't know (if possible) how to upgrade it to at least laravel 6. 😞

from gbridge.

peterkappelt avatar peterkappelt commented on July 23, 2024

Hey guys, sorry for your inconvenience. I had to cancel development of the non-enterprise gBridge platform since it was not profitable. The code here hasn't been touched in a while and is probably outdated.

Migrating the authentication from the implicit code to authorization code flow or alike shouldn't be too hard.

  • Find the authentication part in gBridge
  • Redirect to the authorization URL of Google, with grant_type being set to authorization_code
  • Create a new endpoint in laravel/ gBridge for the callback of Google authorization
  • In this endpoint: check for errors, parse the returned auth code, call the "token" api endpoint of Google using this auth code, continue using the returned token (rather than the token directly returned by implicit flow)

Sorry that I can't provide more support

from gbridge.

lowlander07 avatar lowlander07 commented on July 23, 2024

Hi all,
I'm trying to implement something as well. But Docker, PHP, etc. are all new for me. So some learning to do.
But I make some progress. Just finished point 2 of Peter's list. Thanks for that Peter.

from gbridge.

nayneyT avatar nayneyT commented on July 23, 2024

Hi everybody.

If you use use NodeRed as part of your home assistant setup then I suggest you take a look at https://github.com/mikejac/node-red-contrib-google-smarthome and https://flows.nodered.org/node/node-red-contrib-google-smarthome

It's an absolute shame that this project died.

from gbridge.

Suryaobulareddy2932 avatar Suryaobulareddy2932 commented on July 23, 2024

@lowlander07

Do you have any luck on this as @peterkappelt mentioned. If yes, please help me out

My mail id is [email protected]

from gbridge.

lowlander07 avatar lowlander07 commented on July 23, 2024

@lowlander07

Do you have any luck on this as @peterkappelt mentioned. If yes, please help me out

My mail id is [email protected]

Hi, yes I got it implemented and working. It's probably not the best code, but it works for me.

from gbridge.

MrMarcel66 avatar MrMarcel66 commented on July 23, 2024

@lowlander07
Can you share your solution with us please!
I'm using gBridge for a while and i was very happy with this project.
Too bad the project is dead i found it the best solution.

regards Marcel.

from gbridge.

lowlander07 avatar lowlander07 commented on July 23, 2024

from gbridge.

MrMarcel66 avatar MrMarcel66 commented on July 23, 2024

Hi Bert, thanks for sharing.
I see if i can use the code, i'm not a programmer so fingers crossed. I'm using the gbridge docker setup. I was already moving from domoticz to homeassistant. But i have to stay on domoticz because the gbridge solution gives me more voice options, like using a pin for random devices and change switch devices to lights and when saying switch all lights off not all your switches wil turn off for example.
Regards,
Marcel.

from gbridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.