I'm playing around with building a Vue.js app. I'd like to create a protected area which only people registered as Umbraco members can log in to and access. I'd like to manage the members in Umbraco as normal, if possible.
Forgive the broadness of the question, but what would be the best approach to achieve this?
Would it be best to use a Vue-friendly third-party service like Auth0 and (somehow) integrate that such that Umbraco members are actually served from Auth0, or is there a way to get Vue to recognise that a member is logged in via the standard Umbraco member service?
I use AuthU to access from my mobile app or autenticate from my angular demo with OAuth protocol.
I configured in AuthU a token url endpoint for member realm.
Securing a Vue.js app with Umbraco membership
Hi,
I'm playing around with building a Vue.js app. I'd like to create a protected area which only people registered as Umbraco members can log in to and access. I'd like to manage the members in Umbraco as normal, if possible.
Forgive the broadness of the question, but what would be the best approach to achieve this?
Would it be best to use a Vue-friendly third-party service like Auth0 and (somehow) integrate that such that Umbraco members are actually served from Auth0, or is there a way to get Vue to recognise that a member is logged in via the standard Umbraco member service?
Any pointers/suggestions much appreciated.
Thanks
Sorry no answers for you Dan, but I'd also be interested to know of any suggestions for this!
An idea: IdentityServer4 can be used for both Umbraco and vue.js authentications. References: https://github.com/IdentityServer/IdentityServer4
https://github.com/scolapicchioni/spa20
https://pstokes.co.uk/posts/umbraco-members-and-identity-server-part-1/
Take a look at the AuthU package, it allows you to use Umbraco to do oauth authentication. I've used it with mobile apps before.
I use AuthU to access from my mobile app or autenticate from my angular demo with OAuth protocol. I configured in AuthU a token url endpoint for member realm.
Does AuthU support Umbraco 8?
is working on a reply...