OAuth2 with native Broswer in Android
by Summers Pittman
In Android I have a solution for using the native browser to perform an
OAuth2 sign in. There are some limititions however.
In general to use this you need an activity which has an intent filter to
consume the redirect URL. This works best if you use a custom URI scheme.
Google, Yahoo, and Facebook (as well as other I'm sure) only allow
redirects to http or https. This means that unless you are using a third
party to redirect a custom schema the browser my preempt your application
and consume the redirect. Other services such as KeyCloak and Spotify
allow custom schemas and these work perfectly with my solution.
If we document the limitations of the Intent and when using an Intent vs
using a WebView is appropriate, is a solution with these limitations
adequate? I think it is.
Thoughts?
Summers
PS: a link to my poc :
https://github.com/secondsun/aerogear-android-authz/tree/AGDROID-319/
PPS: You can use this on the KeyCloakHelper in Shoot and Share by adding
`setWithIntent(true)` to the configuration in that class.
9 years, 7 months
Release is out (was: Re: UnifiedPush Server 1.1.0-alpha.2)
by Matthias Wessendorf
Hi,
thanks for testing - alpha.2 is out:
https://github.com/aerogear/aerogear-unifiedpush-server/releases/tag/1.1....
That said we are already in the middle of beta.1 release :-)
Greetings,
Matthias
On Tue, Apr 28, 2015 at 9:45 AM, Lukáš Fryč <lukas.fryc(a)gmail.com> wrote:
> I have tested with EAP 6.4 and MySQL, and successfully sent message to
> Android emulator.
>
> During that testing I've found one issue, that should not IMO block the
> release:
> https://issues.jboss.org/browse/AGPUSH-1375
>
>
> I'm +1
>
> po 27. 4. 2015 v 17:22 odesílatel Christos Vasilakis <cvasilak(a)gmail.com>
> napsal:
>
> registered Android/iOS variants and successfully sent/receive
>> notifications with the activity log being updated accordingly.
>>
>> great work!
>>
>> +1
>>
>>
>>
>>
>> On Mon, Apr 27, 2015 at 4:19 PM, Lukáš Fryč <lukas.fryc(a)gmail.com> wrote:
>>
>>> ad) Testing new UI:
>>>
>>> When testing, please bear in mind, that there are still lot of UI
>>> leftovers (such as wrong links). Some of them we already know of.
>>>
>>> The main functionality/paths should be available though:
>>>
>>> - creating apps
>>> - creating variants
>>> - sending push messages
>>> - reading activity log
>>>
>>> Andres and myself already put together a list items that needs to be
>>> fixed for Beta, but none of them are anyhow critical to have in Alpha
>>> release.
>>>
>>>
>>> Thanks,
>>>
>>> ~ Lukas
>>>
>>> On Mon, Apr 27, 2015 at 9:45 AM, Matthias Wessendorf <matzew(a)apache.org>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> after month of work, here is the second alpha release for the UPS
>>>> 1.1.0. It contains an all new UI, JMS for enhanced scalability and a lot of
>>>> other improvements:
>>>> https://issues.jboss.org/browse/AGPUSH/fixforversion/12326455
>>>>
>>>>
>>>> Please test the staged release:
>>>>
>>>> https://repository.jboss.org/nexus/content/repositories/jboss_releases_st...
>>>>
>>>> Since we now have JMS hooks, please make sure you use a full profile
>>>> WildFly or EAP server for tests
>>>>
>>>> By Wednesday I'd like to press the button to release it to the wild.
>>>>
>>>> PS: Since this is an alhpa release we won't yet be updating our
>>>> Openshift cartridge - that will stay on 1.0.3 (stable) for a little longer
>>>> time. For the next release (beta.1) in a few weeks we may get to this
>>>> Openshift update
>>>>
>>>> Thanks,
>>>> Matthias
>>>>
>>>> --
>>>> Matthias Wessendorf
>>>>
>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>> sessions: http://www.slideshare.net/mwessendorf
>>>> twitter: http://twitter.com/mwessendorf
>>>>
>>>> _______________________________________________
>>>> aerogear-dev mailing list
>>>> aerogear-dev(a)lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>>
>>>
>>>
>>> _______________________________________________
>>> aerogear-dev mailing list
>>> aerogear-dev(a)lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev(a)lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
9 years, 7 months