-
Notifications
You must be signed in to change notification settings - Fork 280
Open
Labels
Javascript FrontendPull requests that update Javascript codePull requests that update Javascript code
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I added a GraphQL data source with authentication type oauth 2.0.

I have an API that also authenticates with the same oauth provider.
When I try to test it with a query I get an error:
query1 run failed: {"code":"HTTPUNAUTHORIZED","message":null}
{ "errors": [ { "message": "Invalid user credentials.", "extensions": { "code": "INVALID_CREDENTIALS" } } ] }

If I use a normal bearer token it works.
Expected Behavior
Lowcoder should forward the user’s OIDC access token when “OAuth 2.0 (Inherit from login)” is selected as the authentication type, allowing the API to verify and authorize the request based on the same user identity and group claims.
Steps to reproduce
- Configure lowcoder to use an external OAuth provider for authentication.
- Set up the API with the same OAuth provider.
- Setup a data source with the API and “OAuth 2.0 (Inherit from login)” activated.
- Try to fetch data from the API.
- Get the error
Environment
OS: Ubuntu 24.04
Lowcoder Version: lowcoder-ce:2.7.5
Additional Information
No response
Metadata
Metadata
Assignees
Labels
Javascript FrontendPull requests that update Javascript codePull requests that update Javascript code
Type
Projects
Status
🆕 New