Page 1 of 1
Seamless OAuth2
Posted: Wed Jul 30, 2014 1:53 am
by Beej
I'm really surprised that Appery doesn't have Oauth2 security frameworks built in. This could sink the entire project.
I need to build an app that only has one login. After that, all logins and authentication must be handled invisibly by the app itself. What do you recommend?
Seamless OAuth2
Posted: Wed Jul 30, 2014 6:27 am
by Evgene Karachevtsev
Hello Beej,
Please clarify, do you you mean that user logged in the application, for example through Facebook or Google+, this user gets access to all the data in the application like user registered in the application directly? Yes, unfortunately there is not such built-in feature, but you can implement it yourself. For example using the server code as a proxy when accessing to the database.
Seamless OAuth2
Posted: Wed Jul 30, 2014 9:42 pm
by Beej
I was thinking more like having the user log into the Appery database, and then having all other auth transactions be behind the scenes. These auth providers will be shared by all users. I need to facilitate multiple users for single company providers.
Seamless OAuth2
Posted: Thu Jul 31, 2014 1:20 pm
by Evgene Karachevtsev
Seamless OAuth2
Posted: Fri Aug 01, 2014 7:28 pm
by Beej
Had the Auth0 login working perfectly on the first app. Now, I get a Page Not Found error. What is the deal?
Seamless OAuth2
Posted: Fri Aug 01, 2014 11:42 pm
by Beej
It's because I'm now using a multi-page template. So, is it somehow possible to use a multi-page tmplate and to use Auth0?
Seamless OAuth2
Posted: Sat Aug 02, 2014 12:08 am
by Beej
The answer appears to be yes. But, the coderedirect_url/code of the service has to be set to the app's start page.
Just to be clear, I'm using the Auth0 login widget.
Seamless OAuth2
Posted: Sun Aug 03, 2014 11:53 pm
by Yurii Orishchuk
Hi Beej,
Yes you need to use start page as "redirect_url".
Cause of all pages in this case will have the same URL. Just HASH will be changed with page change.
Regards.