D
D
DzmVasileusky2016-09-12 12:18:14
Classmates
DzmVasileusky, 2016-09-12 12:18:14

Odnoklassniki JS API on the site. Way to relogin or logout method?

At the moment, the site has oauth authorization via the link.
I need to add the ability to log in as a different user. In the contact API, I implemented this using the logout method.
But in the documentation of classmates, I can’t find such a method or technique for how to implement re-login.
Maybe resetting a cookie or token?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DzmVasileusky, 2016-09-12
@DzmVasileusky

Learned from those. support:
You can add the show_permissions=on parameter to the OAuth url
Then the user will see the OAuth form with a list of permissions issued, there is also a "Change" button.

V
Vjacheslav Kanivetc, 2016-09-12
@Vjaka

Try
new.apiok.ru/dev/methods/rest/auth/auth.expireSession

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question