Skip to content
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

chore(doc): update JavaScript example in README #472

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wJoenn
Copy link

@wJoenn wJoenn commented Feb 13, 2025

closes #450

Summary

Noticed that you were looking for someone to update the JavaScript example in the README so as our team as been using the omniahth-google-oauth2 gem for some time with a API only Rails app and it's been working fine for us since then I figured I might as well share our way of doing it.

I removed the "Getting around the redirect_uri_mismatch error" section because I specify why the redirect_uri_mismatch error might happen in my example and how to prevent it from happening.

I also removed the Using Axios example because imo showing an example with the native fetch API is the simplest example for a JS dev to understand and can easily be converted into any http request package that dev decides to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Question] send id_token from google js api credential to callback
1 participant