Beej
Posts: 0
Joined: Tue Jul 01, 2014 1:56 am

Seamless OAuth2

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?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Seamless OAuth2

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.

Beej
Posts: 0
Joined: Tue Jul 01, 2014 1:56 am

Seamless OAuth2

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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Seamless OAuth2

Beej,

Please look at this link: http://devcenter.appery.io/documentat...

Beej
Posts: 0
Joined: Tue Jul 01, 2014 1:56 am

Seamless OAuth2

Had the Auth0 login working perfectly on the first app. Now, I get a Page Not Found error. What is the deal?

Beej
Posts: 0
Joined: Tue Jul 01, 2014 1:56 am

Seamless OAuth2

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?

Beej
Posts: 0
Joined: Tue Jul 01, 2014 1:56 am

Seamless OAuth2

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.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Seamless OAuth2

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.

Return to “Issues”