cococore
deno_kv_oauth + hono how to fetch data from google profile: state, plans, method names changing.
wth. facking facebook requirements, to just implement oauth2 login, you need pass 100500 checks and confirm business(even if you said you are a student , and named app as "test"). Naziberg
13 replies
deno_kv_oauth + hono how to fetch data from google profile: state, plans, method names changing.
in short words. At the moment i not fully understand the code flow in google oauth2 staff implementation, but it works partially(probably code is dirty).
In same time , i would like to have good example how to implement (not only code but code design too... files folders etc) , the double login functionality using oauth2 deno + hono, for google and facebook(to have vision how to implement multilogin based on these two properly).
that it has:
- signin, signout, request data(user name etc) from google oauth2 api
- signin, signout, request data(user name etc) from facebook oauth2 api
- good file structure of the project, not the pile of code in one place
so i am in process, at the moment it looks like this
https://github.com/healingdrawing/play-deno-kv-oauth
and i alredy see not clear place, because some providers requires "/callback" for oauth callback so i cant just use app.get("/callback_google") etc to easily separete the flow. can not find this info at the moment, probably i could be wrong
13 replies
deno_kv_oauth + hono how to fetch data from google profile: state, plans, method names changing.
i have tiny step forward. it is wip , but the process is alive. In the examples from docs, almost everything is deprecated or wrong (i use typescript)
13 replies
deno_kv_oauth + hono how to fetch data from google profile: state, plans, method names changing.
i will set them up, using flags(deno deploy) or .env file(for dev), the question is how to get properly .profile data using deno lib, since getGithub(Google)User methods were removed from lib.
// !!! how to get google user name or login from .profile using oauth2 deno library methods?
so it is not a question about error or when something not works as expected. it is question about correct way to do desirable actions using deno lib, without "reinventing bicycle" @Leokuma
13 replies
deno_kv_oauth + hono how to fetch data from google profile: state, plans, method names changing.
please no AI answers anymore. If i would like communicate with crapper, i can use chatgpt, perplexity, phindcom etc. And i would like avoid the answers from tool which does not understand that code shortened, so of course imports were cut.
13 replies