We're having trouble with integration tokens for API access. When an admin creates and activates a token, it only seems to work when users connect to the same server (instance) that the admin was connected to when the created the token. Other servers (instances) in the load balanced group do not appear to be able to authenticate with the token.
Do we need to do something special to enable tokens on all servers? Are the tokens stored in the filesystem somewhere, or in the database? If they're in the database, then there shouldn't be an issue. If, however, they're on the filesystem, then I need to figure out how to replicate the tokens to all servers.
magento 2 saving token into DB
check token related table
maybe session save on file may be an issue, try to change DB and try it
Thanks for the reply. Yes, I do see the token in the oauth_token table. Thanks for that.
I agree that this may mean we have a session issue, rather than an issue with other instances seeing the token (since they all have access to the db).
We will explore using the db (or redis) for session management to see if that helps ...