7,666 questions
1
vote
0
answers
61
views
FIRECRAWL_API_KEY Id is not getting value from .env file
I was following the Advent of Agent and was building the multi-agent app with Firecrawl.
When I am using this line FIRECRAWL_API_KEY: "${FIRECRAWL_API_KEY}" inside the research_agent.yaml ...
-1
votes
0
answers
60
views
I have a cookies production issue that I can't login on iphone and also it doesn't appear at all in production server
I'm trying to make users to be able to login using their iphone
also I don't receive any cookies in production! I don't know if it is something for security.
export const loginUserController = async (...
Advice
0
votes
0
replies
39
views
How to limit concurrent connections per clientId to prevent token replay attacks?
I have a security concern regarding Ably token usage and quota management.
Verification: is it possible for a client to establish unlimited concurrent connections (e.g., thousands of sockets) using a ...
1
vote
0
answers
44
views
Power pages portal auth token validation failed with public key
I created a self-signed certificate and added it in power platform admin center using the following commands:
$certificateName = "powerpages.yourdomain.com"
$certPassword = ConvertTo-...
0
votes
0
answers
105
views
How to access usageMetadata (token usage) from GenerateContentResponse using google-genai Java SDK (v1.23.0) with Gemini 2.5 Flash?
I use AI only for translating korean into English and arranging my text.
I'm working with the Google GenAI Java SDK — com.google.genai:google-genai:1.23.0 — in a Spring Boot 3 application, running ...
-3
votes
1
answer
147
views
How to get token usage (prompt/completion tokens) from GenerateContentResponse using google-genai Java SDK v1.23.0? - springboot, github codespace
I am using the com.google.genai:google-genai:1.23.0 Java SDK in a Spring Boot 3 project to call the Gemini API (gemini-1.5-flash).
I can successfully generate content and get the answer text like this:...
0
votes
1
answer
83
views
JX OAuth Request Token Issue, getting invalid_client despite having the values obtained from JH
We are trying to test the Scenario: JX OAuth Request Token request.
But when sending the "Request Token" request, we are getting:
{
"error": "invalid_client",
"...
0
votes
0
answers
62
views
Laravel session lifetime on recursive ajax
I'm using laravel 8 with SESSION_DRIVER=file
I have code that run like below, and I have a problem why the recursive not extending the expired time of session?
Each process take 30sec, but after ...
0
votes
0
answers
61
views
How to handle expired session during incoming VoIP call (iOS, Chime SDK)?
I’m implementing VoIP calls on iOS using the Amazon Chime SDK with PushKit + CallKit.
The flow works fine when the user is logged in and the session is valid.
Scenario:
User is logged in.
App is in a ...
0
votes
1
answer
66
views
Assigning unique tokens to starting pods [closed]
I'm trying to find an (elegant) solution to the following problem: I have a Deployment that I want to be able to scale from 2 - 4 pods.
I have a pool of 4 unique tokens to access a resource, external ...
0
votes
2
answers
152
views
Laravel 12 - Angular 20 - Sanctum SPA - CSRF Token mismatch
Im trying to build a login and create user with CSRF Tokens and it wont run i tried for 3 days now and it wont work because of CSRF token mismatch. i think im missing something small or idk if its a ...
2
votes
0
answers
70
views
How to download file contents from private BitBucket repository using API token
So far I got this
def _parse_bitbucket_url(value: str) -> Dict[str, str]:
parsed_url = urlparse(value)
if not parsed_url.scheme or "bitbucket.org" not in parsed_url.netloc:
...
1
vote
1
answer
68
views
Is it possible to make Bison utilize external token definitions?
I am working on building a compiler using Flex/Bison, and tried to utilize a tokens.h file to define the tokens used by the parser and lexer.
#ifndef TOKENS_H
#define TOKENS_H
enum TokenType {
...
1
vote
0
answers
104
views
What is the correct way to get the remaining tokens for a chat session in FoundationModels?
I currently calculate the remaining tokens like this:
var conversationHistorySize: Int {
conversationHistory.components(separatedBy: .whitespacesAndNewlines).count
}
private let maxTokens = 4096
...
1
vote
0
answers
78
views
ClientAuthenfication implementation issue Spring Cloud Vault token
I am currently working on a very starter for Spring Cloud Vault, because of autoconfiguration capabilities offered and the possibility to inject secrets in the environment bean at runtime. My ...