Aurel Branzeanu
Aurel Branzeanu
I certainly know about `||=` but this is the case with possible nil. Regarding the `attr_reader :refresh_token` it was long since refactored as long as the whole bunch of code....
> If you add the New Relic appender and set the log level to something like `:trace` it will forward all logs to New Relic: > > ```ruby > SemanticLogger.add_appender(appender:...
> Hey @texpert, not sure if you've seen [my PR](https://github.com/reidmorrison/semantic_logger/pull/248), but it might work for you. > > I've got quite busy with end of year work so haven't integrated...
Also, removed an obsolete string interpolation in set_auth_strategy method.
@antek-drzewiecki . did you have a chance to take a glance at this?
@antek-drzewiecki , what do you think? This seems to be ready.
@LeFnord , it's silence here since September, 2016. Actually, with this merged PR to Doorkeeper, https://github.com/doorkeeper-gem/doorkeeper/pull/915 , WneBouncer became redundant, indeed.
Could you be more specific, please?! How the sign_in is implemented (Rails or Grape controller)? What's the authentication workflow?
What auth_strategy is configured in your WineBouncer initializer? Mine is :swagger (I am using grape-swagger with grape-swagger-rails for Swagger UI): `WineBouncer.configure do |config| config.auth_strategy = :swagger config.define_resource_owner do User.find(doorkeeper_access_token.resource_owner_id) if...
Redirect from POST to /oauth/token is because of devise_for sessions and registrations. Try this configuration of devise: `devise_for :users, only: :confirmations, defaults: { format: :json }` I even think that...