-
Notifications
You must be signed in to change notification settings - Fork 391
OAuth 2.0 for Web Server Applications, "auth Related Error (invalid_rapt)" error #1961
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please give us full steps to reproduce the issue including everything you did starting from scratch. If this includes any code samples, please provide the full code sample so that we can copy/paste the code to try to reproduce the issue. |
I can reproduce it this way:
.env:
package.json:
js:
|
any news regarding this pls? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have implemented OAuth2 to access Dialogflow CX library (@google-cloud/dialogflow-cx) following this doc
Our application can have multiple dialogflow chatbots, so different refresh tokens. It can happen that 2 refresh tokens belongs to the same Google OAuth2 Client
I made 2 changes:
prompt: 'consent'
parameter to get refresh token. (It is because we have multiple connections)I initialize the auth to access dialogflow:
It works for a day, or so, but then I got
auth Related Error (invalid_rapt)
I tried to refresh token manually following the tutorial, and i found a method for it:
authClient.refreshAccessToken()
Same result (I mean every failed with 400, but when I called refreshAccessToken(), I have seen this invalid_rapt )
The text was updated successfully, but these errors were encountered: