-
Notifications
You must be signed in to change notification settings - Fork 2
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
Link to example application? #1
Comments
nice! @rwl I'd love to make go-endpoints be compatible with rwl/endpoint. I had a quick look at your forked version of go-endpoints. Do you think it would be feasible to merge so that both (w/ and w/o App Engine) versions can coexist? |
I removed all of the App Engine dependencies in my branch of go-endpoints. This included the authentication features based on the Users API. I wanted to create an authentication interface that could have multiple implementations, including App Engine, but didn't get very far. If you have any suggestions on how to do this I would be very interested to hear them. I suspect restricting it to OAuth would make it easier. |
I added a link to your Greetings example in the readme. |
Yeah, specifically OAuth 2. Once we've got auth data, it tries to validate as if it were a JWT token first- it's cheaper and faster. BTW, they also call it The validation mechanisms are really standard and have nothing to do with App Engine and its Users auth service. The only bits that are specific to Google, i.e. Google Accounts and have nothing to do with App Engine - and they will be different for every OAuth 2.0 provider - are the following:
So, it really looks like it's a matter of gathering JWT/bearer token validation info for different providers and making it work across all of them: I'd probably expect some differences in implementations. Closer to the code, I was thinking about something like What do you think, makes sense? |
One other thing I had to remove was the One thing I like about the Java implementation of Endpoints is that if your RPC method has a Your |
I am beginning to understand you explanation of the token validation procedure @crhym3. I have added three Provider interfaces. So far, I have gathered info for Facebook, Github and Amazon. I would like to include an OSIN provider eventually also. Can you have a quick look and let me know if my approach is in line with how you imagined it. It would be great to get this merged into your repo eventually. |
Awesome work on this Lincoln. I wrote a quick example app to show that everything is working if you want to link to it:
https://github.com/philips/endpoint-hello
/cc @crhym3
The text was updated successfully, but these errors were encountered: