1) Gets an OAuth Request token.
2) Directs the user to a new page to authorize the request token.
When the user authorizes the request token they are then redirected back to the call_back page (the original php page). However, at this point the script does not remember the OAuth key/secret. The OAuth key is a parameter of the redirected URL so it can be easily recaptured, however the OAuth secret has been lost at this point. The question I have is:
"What is a best practice PHP method (besides writing it to a database) for storing an OAuth secret so that it is available after a NetFlix request token authorization?"
I have a PHP page that:
1) Gets an OAuth Request token.
2) Directs the user to a new page to authorize the request token.
When the user authorizes the request token they are then redirected back to the call_back page (the original php page). However, at this point the script does not remember the OAuth key/secret. The OAuth key is a parameter of the redirected URL so it can be easily recaptured, however the OAuth secret has been lost at this point. The question I have is:
"What is a best practice PHP method (besides writing it to a database) for storing an OAuth secret so that it is available after a NetFlix request token authorization?"
Message edited by Bruinor 3 years ago
Armando Padilla – 3 years ago
if its just for that specified time set it in the users session.