spree_social icon indicating copy to clipboard operation
spree_social copied to clipboard

Added api exposure for logging in with an oauth access token.

Open Oldharlem opened this issue 5 years ago • 1 comments

This PR adds the option to use a valid access token to authenticate with the application. The omniauth strategies are used for the authentication but obtaining a token part is skipped. Instead, the token is directly fed to the strategy and the user info is retrieved via the strategy.

This feature would allow any API consumer with a valid token to register or login using this token.

Could not test since they seem broken on 3-1-stable. Is anybody else experiencing problems running the tests?

getting an undefined method 'load_defaults' for #<Rails::Application::Configuration:0x00007f8673c52e60> error

Oldharlem avatar Aug 08 '19 20:08 Oldharlem

Is this repo still active?

Oldharlem avatar Sep 20 '19 11:09 Oldharlem