Skip to content

fixed cutting off long oauth callback urls for oauth clients like google apps script (Google Drive) #2124

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

Merged
merged 1 commit into from
Jan 4, 2016

Conversation

printminion
Copy link
Contributor

fixed cutting off long oauth callback urls for oauth clients like Google Drive Apps Script by increasing size of callback_url, rejected_callback_url columns from 255 to 512 chars

Google Drives Apps Script have very long oauth URLs.
Example:
https://script.google.com/macros/d/MR7xx5QeHK_nwZLsUd8pxVZXvWRuAoVU2/usercallback?state=ADEpC8zf967naK-fzUxtnUVDyckTiet7SC7ci3sj-qztyiv0X8C91iTemZedlAAQ3sAm6jxCq00KNPwPJts8cOABWaddof_xskq6rUu25EAD1d5C4BwWOEOK4Ud9qGl3b7ofAe-Rs-46M_EJjTifs5i3b--ZDz-FMpz1Kk4m6jxCq00KNPwPJts&oauth_token=0896ce575a666a8113d382bb849bd0f0&oauth_verifier=1f3719ba1d2d5ae4a739be1bf79644f4

Magento saves it in callback_url column and cuts 16 chars (from example above).
That is why it's not possible to write Addons for Goolgle Sheets/Documents.

Please increase the size of callback_url and rejected_callback_url columns.

Links:

…gle drive apps script by increasing size of callback_url, rejected_callback_url columns from 255 to 512 chars
@okorshenko okorshenko self-assigned this Dec 15, 2015
@okorshenko
Copy link
Contributor

Internal ticket: MAGETWO-46678

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

Successfully merging this pull request may close these issues.

5 participants