adonisjs / ally

AdonisJS Social Authentication Provider
MIT License
158 stars 54 forks source link

how to pass refresh token to ally and get access token google auth ? #144

Closed mtariqsajid closed 1 year ago

mtariqsajid commented 1 year ago

I am looking to incorporate Ally into my Adonis API application. I manually obtain the user's details and would like to pass the corresponding Google authentication details to Ally in order to retrieve an access token, provided that it has not expired. However, I am unsure of how to instantiate an Ally object using the data stored in my database

my application senacio in this

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mtariqsajid commented 1 year ago

why no one reply

thetutlage commented 1 year ago

Sorry for the late response.

Ally is used to build "Login with social provider" flow and not to generate oauth tokens. You will have to use the social provider API or their SDK directly.