cococore
Explore posts from serversvite + react
how about this?
https://docs.deno.com/runtime/tutorials/how_to_with_npm/react/
itworked several days ago
5 replies
i trying to deploy deno2 . it fails
confirmed.
Deno2 creates deno.lock version 4.
Extension says it is wrong and version 3 must be used.
When super simple code used with version 4 deploy fails.
When super simple code used with version 3(manually changed) deploy works.
With version 3 changed in deno.lock manually, after project was created using deno2-rc10, the not super simplecode fails.
it says that Deno.exit can not be used. In same time on dev environment it works.
Also in yml file all versions of deno is v1.x
6 replies
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
How to rewrite this: `import * as base32 from "jsr:@std/[email protected]/base32.ts";`
why do you migrating? does jsr better than x?
5 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