I've got a Rails API that is using Doorkeeper with the password grant method for Oauth2.
Doorkeeper requires both the client_id
and client_secret
to be sent to the token request (/oauth/token
), alongside the user's login details and scope.
How would I go about doing this in an Angular app? I don't like the idea of storing the client id and secret client side...