I'm currently building a frontend client for my own Apigility API. The API uses OAuth 2.0 Authentication which is working fine.
I want to create an AngularJS Landingpage to let the users authenticate by entering their credentials. Because the Client is created with JavaScript, I shouldn't save the client_secret in the Client, correct?
I have read a lot of posts, but still haven't the right solution. Is it correct to use the implicit grant type for this scenario? This procedure is working, I'm being redirected to the authentication server, after the client authorization and entering credentials, I get back to the client (authenticated).
But I don't want to get redirected to another authentication page. Is it also possible to authenticate directly and secure on the angularJS frontend?
Thanks, Simon