Comments (2)
Currently auth endpoint is stopped working and its patched by OpenAI, we may remove the session-token and use access-token directly for the unofficial method
from chatgpt.net.
Hi @PawanOsman, can you explain how the access token should be formated to use it? I am trying to set the field AccessToken from the ChatGptUnofficial to allow for the access token directly, but the ValidateToken method is returning the following error:
The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
in line:
var decodedPayload = Encoding.UTF8.GetString(Convert.FromBase64String(tokenPart));
I wonder how I can use it in the meantime. I can also support you with the modification from session-token to access-token if you explain your strategy.
from chatgpt.net.
Related Issues (20)
- CacheException caught: Cannot connect to server 'https://gpt.pawan.krd/' HOT 2
- "Disconnected from the Bypass Node! Reconnecting .. "It's always impossible to reconnect. HOT 1
- Non JSON data in the response stream HOT 1
- Newtonsoft.Json.JsonSerializationException: 'Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'ChatGPT.Net.DTO.ChatGPTUnofficial.ChatGptUnofficialMessageResponse' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. HOT 1
- An error occurred while sending the request. HOT 1
- Response streaming does not work HOT 1
- Unofficial Api return a 400 bad request HOT 3
- The input is not a valid Base-64 string as it contains a non-base 64 character
- Authorisation header using Bearer Auth HOT 1
- How to respone to client with webapi not console and less lag? thank you HOT 3
- 请求响应错误。用示例也出错是什么原因?
- Issue with context being maintained
- Response status code does not indicate success: 429 (Too Many Requests). HOT 1
- Any plans to support Fine-tunes API?
- Does not work with ChatGPT4 HOT 1
- Getting started example doesn't work as expected
- Question: Does this api support file upload?
- How to define user message size limit for particlular prompt?
- How to specify system message separately from user for the request? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt.net.