setClientSecret() in OAuthClientRequest.TokenRequestBuilder, but not in OAuthClientRequest.AuthenticationRequestBuilder?

167 views
Skip to first unread message

Markus Sabadello

unread,
Oct 3, 2010, 6:57:30 AM10/3/10
to oauth-le...@googlegroups.com
Hello,

I can do this:

            OAuthClientRequest
            .tokenLocation("..")
            .setClientId("...")
            .setClientSecret("...")

But I cannot do this:

            OAuthClientRequest
            .authorizationLocation("..")
            .setClientId("...")
            .setClientSecret("...")

... because there is no setClientSecret() method.

bug?

Markus

--
blog: http://danubechannel.com
phone: +43 664 3154848

Maciej Machulak

unread,
Oct 3, 2010, 3:11:22 PM10/3/10
to oauth-le...@googlegroups.com
Markus,

I don't see that in the spec. You would not create End-User
Authorization request with a client_secret.

Cheers,
Maciej

--
Maciej Machulak
email: maciej....@gmail.com
tel: +48 602 45 31 44
tel: +44 7999 606 767

Markus Sabadello

unread,
Oct 3, 2010, 4:39:49 PM10/3/10
to oauth-le...@googlegroups.com
Right, sorry my fault. Not sure what I was thinking.

Markus
Reply all
Reply to author
Forward
0 new messages