R
R
ruslan2k2019-01-03 05:20:17
JavaScript
ruslan2k, 2019-01-03 05:20:17

Is OAuth authorization possible in a browser without a Client Secret?

Is it possible to authorize a client via OAuth using only a browser?
I connect authorization through social networks using javascript, everything should work in the browser, so the Client Secret is not used for security purposes.
This feature is described in the standard, but I did not manage to implement it in popular social networks.
Perhaps someone faced a similar task, share an example or a link to a working site.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2019-01-04
@ruslan2k

There is an OAuth Implicit Flow for this.
Here is the description for VK: https://vk.com/dev/implicit_flow_user

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question