zetkin / zetkin.js

Javascript SDK for the Zetkin Platform API
0 stars 2 forks source link

Add support for scopes to login URL #34

Closed richardolsson closed 3 years ago

richardolsson commented 3 years ago

This PR exposes the scope feature of OAuth2 (and the client library we use) so that SDK users can optionally supply a scopes array when constructing a login URL.

Scopes will be gradually added to the Zetkin Platform API, starting with using scopes to indicate the requested auth level (single or multi-factor authentication).