I usually just create a route to do the OAuth dance. It's pretty simple.

On Tue, Sep 28, 2021 at 2:01 PM Andrea Cosentino <anco...@gmail.com> wrote:

> Yes, but it is an ad-hoc solution.. there are libraries trying to deal with
> oauth, but it's really hard to cover all the cases. It's not a protocol.
>
> Il mar 28 set 2021, 20:57 ski n <raymondmees...@gmail.com> ha scritto:
>
> > The use cases will depend if you're on the server or client side. And
> which
> > OAuth flow is used.
> >
> > I for example had a use case for storing tokens. These tokens are 15
> > minutes valid. When making a call which needs this token, it checks if
> the
> > token is still valid or not. When not, it refreshes the token and store
> it
> > in cache (
> > https://camel.apache.org/components/latest/ehcache-component.html).
> > In other cases, it reuses the token.
> >
> > Raymond
> >
> > Op di 28 sep. 2021 om 17:16 schreef Andrea Cosentino <anco...@gmail.com
> >:
> >
> > > I think he is talking about a generic component which it's not the case
> > for
> > > the moment
> > >
> > > Il mar 28 set 2021, 17:13 Jeremy Ross <jeremy.g.r...@gmail.com> ha
> > > scritto:
> > >
> > > > I believe some components handle OAuth (somewhat) transparently.
> What's
> > > the
> > > > use case?
> > > >
> > > > On Fri, Sep 24, 2021 at 12:20 PM Andrea Cosentino <anco...@gmail.com
> >
> > > > wrote:
> > > >
> > > > > Not at the moment.
> > > > >
> > > > > Il giorno ven 24 set 2021 alle ore 19:11 Riggy Software <
> > > > > riggy-softw...@hotmail.com> ha scritto:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > Does Camel have Oath2?
> > > > > > I can't find any component in release 3.
> > > > > >
> > > > > >
> > > > > > Kind regards,
> > > > > > Clark
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to