-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Google GIS for web. #257
Conversation
please use prettier for format |
thx for contributing :) you use Implicit flow or Authorization code flow ? |
It looks like google implemented a system different from the oauth2 we knows. I did try earlier with Implicit flow following this and using requestAccessToken(). I was getting a Bearer I could use in next requests but didn't find a way to get user informations that way |
we need use https://developers.google.com/identity/oauth2/web/guides/use-code-model ok, need investigate but many users use Code flow |
Authorisation Code Flow require a backend endpoint ("Your backend platform hosts an authorization code endpoint and receives the code"), I'm not sure that's what we want, is it ? |
As written here
There are simpler ways to handle authentication if we only need email, profile and openid scopes |
maybe there are two ways to implement |
Sure. |
I worked on a new version using implicit workflow, supporting scopes. I'll share it tomorrow |
Probably #259 is better |
This is probably a "work in progress".
I'm able to login but:
Let me know