9M6
Explore posts from serversCDCloudflare Developers
•Created by 9M6 on 5/25/2024 in #workers-help
Invalid credentials. even though I pass the Bearer
Hello,
I'm facing an issue that when I do a fetch request (ofetch, native fetch, does not matter) and I am passing
Authorization:
headers, the response is:
Now, when I am checking the logs on the api that I am trying to call, it does not show any successful api request being made.
Is there some caching rules/issues?3 replies
CDCloudflare Developers
•Created by 9M6 on 5/21/2024 in #pages-help
$fetch request to API with `Bearer` token not working, headers not included?
Hello, anyone knows why when I made a $fetch to an endpoint with a Bearer token from localhost it works. but from Cloudflare returns 401 ?
Does Cloudflare removes any of the headers when sending the request? Its kind of driving me crazy, I've tried to debug this but no success. When using Digital Ocean apps the same request works no problem, it only happens in Cloudflare.
I'm using
nitro
from unjs
with ofetch
.1 replies
KKinde
•Created by 9M6 on 5/17/2024 in #💻┃support
Details Update Propagation takes too much time
Hello,
I've noticed an issue, when I update an organisation (org name), and right after I do a fetch, the endpoint (management api) returns the old name, but when I call it after 1-2 seconds it returns the correct name.
Is this latency common with all the APIs?
9 replies
KKinde
•Created by 9M6 on 5/14/2024 in #💻┃support
kindeClient.getUserOrganizations() its returning Compact JWS must be a string or Uint8Array
I am getting an error when fetching: kindeClient.getUserOrganizations() its returning Compact JWS must be a string or Uint8Array, but when I fetch other functions works correctly
any idea why this might happen?
My setup is Nuxt+NitroJS (nodejs)
I have setup:
1. M2M to fetch tokens to make endpoint api calls
2. Copy/Pasted the nuxt-kinde
server/
code to my nitro app
Tried asking KindeAI, but to no avail.41 replies
KKinde
•Created by 9M6 on 5/13/2024 in #💻┃support
When requesting /oauth2/token, does the endpoint returns the same token or issues a new one?
Quick question, when doing M2M api calls, and trying to fetch the
oauth2/token
from kinde, does the endpoint returns the same token until expiry or issues a new one?
Do I need to locally save the token until expiry or its safe to call the endpoint multiple times without worries?3 replies
KKinde
•Created by 9M6 on 5/13/2024 in #💻┃support
How do you update user details from own-app?
Hello,
As the title says, how does one update the user details from the app, not from kinde (manually), there's no information regarding this.
How to update:
- name
- Last name
- Extra informations
- Change 2FA/Password etc?
Thank you in advance.
3 replies
KKinde
•Created by 9M6 on 5/11/2024 in #💻┃support
Nuxt useKindeClient not working properly
Hello,
I'm trying to use Kinde with Nuxt, the module is quite barebones and doesnt seem to support all things, a few things I want to do:
1. Custom Sign In / Sign Up
2. useKindeClient does not work both on
server/api/auth/login.ts
as an api route, neither in any of the components
on part of the tutorials I see:
but this code does not specify where this should run, backend or frontend, frontend wise does not run; and I cant try on the backend since it does not import useKindeClient
(auto-imports
any help appreciated.4 replies