You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to login to google on the client then send the token to my server and validate it there. i.e. I'm supporting logging into my app with a google account but no immediate plans to access google services on the server beyond validating the token.
Currently the Token class is in the browser part of the api which has a dependency on dart:html.
I don't see any obvious dependencies that the Token class has on dart:html
The text was updated successfully, but these errors were encountered:
OK I was wrong it is clearly tied to the client. I assumed wrongly that it was using dart:http to contact the google server for the token validation.
I was going to submit a PR for this change but as there are no tests and I can't open it in the Dart Editor without it going into a spin running pub get over and over, I'll hack my own thing in my own project.
It doesn't look like this project has received any love for a while. Is it still the best api to use for authenticating to google?
I would like to use this token to validate the authentication of the user on server side. I guess that the validation should involved the secret String provided by the OAuth2 Autority.
I want to login to google on the client then send the token to my server and validate it there. i.e. I'm supporting logging into my app with a google account but no immediate plans to access google services on the server beyond validating the token.
Currently the
Token
class is in thebrowser
part of the api which has a dependency ondart:html
.I don't see any obvious dependencies that the
Token
class has ondart:html
The text was updated successfully, but these errors were encountered: