antony / grails-oauth-scribe

Grails Oauth plugin using the Scribe library
23 stars 40 forks source link

Having Provider Error #30

Closed mumarm45 closed 9 years ago

mumarm45 commented 10 years ago

I have Configure like this oauth { providers { facebook { provider = org.scribe.builder.api.FacebookApi key = 'zuckerberg' secret = 'brothers' callback = "${grails.serverURL}/auth/callback" successUri = "/oauth/OnSuccess?provider=facebook" failureUri = "${grails.serverURL}/auth/unauthorized" }

}
debug = true

} and having error Class: uk.co.desirableobjects.oauth.scribe.exception.InvalidOauthProviderException Message [:] is not a Class

Brackmeister commented 10 years ago

Hi there,

I had a similar error once. It turned out that my version of the oauth plugin was too old. In my case it was the "xing" provider that required at least oauth version 2.3.

Not sure which version you use but try again with a newer I'd suggest.

mumarm45 commented 10 years ago

Thanks For Reply Hi, My this issues has been resolved now error is something else For Example If i click on the Login with google , it doesn't redirect to the google page. it remains on my application

antony commented 10 years ago

Can you show me the link for your login page? It sounds like you're missing the provider="" attribute.