#@react-oauth/google

1 messages · Page 1 of 1 (latest)

keen kernel
#

you can set it to localhost

#

I mean the redirection uri, pass in 127.0.0.1 to the field

#

or just pass in localhost and check it

hot leaf
#

not in here i guess but i am not sure if its the right place

keen kernel
#

just pass in the 127.0.0.1 or just localhost

hot leaf
#

i dont think this is the right place

#

wait my fault

#

i can try diffrent

keen kernel
#

that is the right place I've used localhost before

#

I think it's not the right place

#

if you don't have a live domain, you can try example.com

hot leaf
keen kernel
#

and then check if you still get that error, it's been a while I work with Google OAuth

hot leaf
#

wait

#

it works

keen kernel
hot leaf
#

now i got permission errors

#

but atlest the api works kinda

#

either

{
  "error": {
    "code": 403,
    "message": "Method doesn't allow unregistered callers (callers without established identity). Please use API Key or other form of API consumer identity to call this API.",
    "status": "PERMISSION_DENIED"
  }
}

or

{
  "error": {
    "code": 404,
    "message": "Requested entity was not found.",
    "status": "NOT_FOUND"
  }
}
keen kernel
#

you know you need the google-services.json

hot leaf
#

everything works

#

thank you alot

#

i will share this project when finished will be open source

keen kernel
hot leaf
#

@keen kernel you know if its possible to create an user api key using o auth?

because right now i would need to ship my api key with the app or let the users by them self create them here

keen kernel
# hot leaf <@900840386031919114> you know if its possible to create an user api key using o...

don't ship your API key with the app, since you're open sourcing it, it is not advisable, you can include the link to the API key generation dashboard page in the documentation and ask users to create a GC app and generate their API key, it is not advisable to ship any form of API keys to the public because of bad actors, one can't imagine the length that bad actors can go to to misuse the API key and afterward the blame of whatever they did with the API key is going to be on the owner of the API key

hot leaf
#

I with I could automate this or don't have to use a own api provider server.

keen kernel
hot leaf
#

@keen kernel could I be automated this with selenium if the user accepted and sees every step an confirms it