You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am migrating from Access Manager (PAM) v2 to PAM v3 using the guide provided by PubNub: PAM v3 Migration Guide. As part of this migration, I updated my Ruby code for token generation. However, I’m encountering a 403 Forbidden error on the frontend when a heartbeat call is initiated using the token generated by this code.
Below is the sample code I’m using for token generation
I am migrating from Access Manager (PAM) v2 to PAM v3 using the guide provided by PubNub: PAM v3 Migration Guide. As part of this migration, I updated my Ruby code for token generation. However, I’m encountering a 403 Forbidden error on the frontend when a heartbeat call is initiated using the token generated by this code.
Below is the sample code I’m using for token generation
Key Issues:
Forbidden Error: The frontend encounters a 403 Forbidden error during heartbeat calls made using the token generated with the above code.
Token Validation: How can I validate if the token generated through this code is valid?
Documentation and Examples: Is there more specific documentation or a code sample available for generating tokens using the Ruby SDK with PAM v3?
Questions:
Is the provided code snippet the correct way to generate a token for PAM v3 using the PubNub Ruby SDK?
Are there additional configurations or steps required to ensure the generated token works correctly for heartbeat calls?
Are there any available tools or methods to debug or validate the generated token?
Environment Details:
PubNub gem version: [5.3.5]
Ruby Version: [3.0.7]
Rails Version: [6.1]
The text was updated successfully, but these errors were encountered: