IOS-OAuth2( vk.com)
by Денис Карпенко
Hi everyone!) I try to add VK config in IOS-OAuth2, my application opens
safari and asks for permission, I click ‘ok’ and then browser opens page
with access token, and that is it Browser remains open and I can’t get
token in application. What could be the problem ?)
Denis.
9 years, 9 months
UPS: Databases - skipping H2 on 1.0.x
by Matthias Wessendorf
Hi,
with the migration support on UPS that @qmx did, we have DB schema
versioning. As a consequence the value of 'hibernate.hbm2ddl.auto' in the
persistence.xml was changed to 'validate' to force the JPA provider to
validate, instead of updating.
On #512 we agreed that changing this back to 'update' is back. I did not
see that initially, and I am thankful that @qmx pointed me to it.
What does this mean: for the 1.0.3 release we do no longer support H2
database. Instead we just support MySQL and Postgres, to match production
environments.
However, H2 is handy for getting a quick run, and for new users. Thanks to
our OpenShift cartridge, getting started is even simpler - no local
installation is needed.
However, for MASTER branch, we will be introducing a "development" profile,
that will allow users and developers to ran locally against H2. When
running releases, that - of course - is disabled :-)
Greetings,
Matthias
PS: Yes, we had bugs in the past due to the fact "It works on H2", and now,
supporting 'real' DBs, we are a step closer to production environments,
even for our own development.
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
9 years, 9 months
Move OTP demos to the cookbooks
by Bruno Oliveira
Morning, I can't remember if this was already discussed here. But what
do you think about move our OTP demos to the respective cookbook repositories?
--
abstractj
PGP: 0x84DC9914
9 years, 9 months
Changes to aerogear.org - master/new-design
by Lukáš Fryč
Hey guys,
just heads up, if you have some changes to aerogear.org, please send them
directly to the `new-design` branch,
as I'm starting works on merging the new-design branch with master and
resolving conflicts.
Thanks!
~ Lukas
9 years, 9 months
New Site - Main Navigation responsiveness
by Lukáš Fryč
Hey guys,
Andres and me have found out that the page responses quite well as screen
size changes,
but the Main Navigation poses a problem.
(try it yourself by resizing the browser window)
We have two options:
1. collapse some menu items under dropdown (e.g. put Road Map and News
under new Community dropdown)
2. collapse menu items only when screen size does not allow to place all
the current menu items (effectively means having two versions of the menu)
3. ignore the problem
Any other suggestions?
@Andres: what do you think about (2)? Seems a bit against semantic web
guidelines (having same content duplicated for different resolutions).
~ Lukas
9 years, 9 months
[Android] - Refactoring OAuth2 configuration
by Bruno Oliveira
Good morning, while writing our quickstarts, I found something that I
would like to change.
Currently to setup our OAuth2 providers we have to do something like
this:
AuthorizationManager.config(MODULE_NAME, OAuth2AuthorizationConfiguration.class)
.setBaseURL(new URL("https://"))
.setAuthzEndpoint(AUTHZ_ENDPOINT)
.setAccessTokenEndpoint(AUTHZ_TOKEN_ENDPOINT)
.setAccountId(AUTHZ_ACCOOUNT_ID)
.setClientId(AUTHZ_CLIENT_ID)
.setClientSecret(AUTHZ_CLIENT_SECRET)
.setRedirectURL(AUTHZ_REDIRECT_URL)
.setRefreshEndpoint(AUTHZ_TOKEN_ENDPOINT)
.addAdditionalAccessParam(Pair.create("response_type", "code"))
.setScopes(Arrays.asList("photo_upload, publish_actions"))
.asModule();
Although, things like the url endpoint, access token endpoint, or the
module will most of time remain unchanged. Unless you switch from Facebook to
Keycloak for example. People don't care that much about these
urls, but which provider they want to connect.
So I would like to refactor the authz module from AGDroid, define the default values
for ommitted params and make the methods like setBaseURL for example,
alternative. Something like this:
AuthorizationManager.config(MODULE_NAME, OAuth2AuthorizationConfiguration.class)
.setClientId(AUTHZ_CLIENT_ID)
.setClientSecret(AUTHZ_CLIENT_SECRET)
.asModule();
Based on the module name, we instantiate the respective module with the
default values already in.
Thoughts? Let me know if the idea is useless.
--
abstractj
PGP: 0x84DC9914
9 years, 9 months
[Cordova] - Cookbook release
by Bruno Oliveira
Morning, would make sense a release of the cookbooks for Cordova? With
the latest/greatest stable bits? Like we have for iOS and Android?
Asking before file a Jira.
--
abstractj
PGP: 0x84DC9914
9 years, 9 months