Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Feature request: logout #20

Open
freeseus opened this issue Sep 9, 2015 · 0 comments
Open

Feature request: logout #20

freeseus opened this issue Sep 9, 2015 · 0 comments

Comments

@freeseus
Copy link

freeseus commented Sep 9, 2015

This is not a bug, but I didn't know where else to ask this:

After successfully logging in and getting the access token, is there a way we can log out / purposefully time out the access token?

Basically Sony wants you to login to the PSN using your credentials and then get a token so you can request info for the next hour at which time you need another token. I have a heroku app on a server that has a front-end login that will check the credentials and return basic PSN profile information of whoever logs in. The web worker of the heroku app only gets activated when someone goes to the heroku app url. After that, the web worker shuts down - but I believe the token gets saved and is active for the next hour. So when the next person tries to check this (or a couple people after that), PSN starts temporarily blocking token access for the heroku app.

Is there a simple logout mechanism we could try? I know there is a logout button on Sony's Auth page: https://auth.api.sonyentertainmentnetwork.com/loginSuccess.jsp. Could we execute this same functionality?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant