On my angular app I can use sso to oauth with google, twitter etc. It call my rails method to create the authentification token. This works, now I want to send the oauth token from my rails server to the angular.
My actual schema :
1) Angular : sso connexion button, call rails server ->
2) Rails : token creation ->
3) Rails : send to specific url in angular front, in POST request ->
4) Angular : Get token from specific url, and perform connexion
But I don't know how to send the data like this,
Anybody as an idea?