-
Notifications
You must be signed in to change notification settings - Fork 33
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
Setting a custom redirect_uri #20
Comments
@andreimarinescu Where you able to figure something out? To pass the redirect URI? |
@dhilipsiva I forked this repo and added a hack so I could set the redirect uri manually. It does work, but I'd exercise caution if you want to run this in production (I'd probably recommend maintaining your own fork). Here's my fork for reference if it helps: https://github.com/andreimarinescu/django-graphql-social-auth/commits/master |
Thanks a lot @andreimarinescu . I am not using this for production. I am giving a talk at DjangoCon Europe 2021, so I am using this to build a demo app for that purpose. Thank you :) |
That's super cool. Good luck! :)
…On Thu, May 20, 2021 at 2:55 PM dhilipsiva ***@***.***> wrote:
Thanks a lot @andreimarinescu <https://github.com/andreimarinescu> . I am
not using this for production. I am giving a talk at DjangoCon Europe 2021,
so I am using this to build a demo app for that purpose. Thank you :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIAH53IUMIGFTGUCMIMJU3TOT2CVANCNFSM4M5KOKQQ>
.
--
Andrei Marinescu -- co-founder
Appscend - The Mobile Experience Igniter
Calea Plevnei 46-48, Bucharest, Romania
phone: +4 0742 896 394
email: ***@***.***
|
I'm trying to use this library in conjunction with a React application and I'm implementing a LinkedIN login.
The issue I'm facing is that my redirect_uri is different from the default python social auth value. I'm receiving the authorization code on the front-end and triggering the mutation, however I'm receiving a
graphql.error.located_error.GraphQLLocatedError: Your credentials aren't allowed
error, most probably because of the different redirect_uri values (LinkedIN is enforcing using the same redirect_uri).Previously, I was using the
django-rest-social-auth
package that provides for supplying a value for theredirect_uri
value. I was wondering if something similar is possible usingdjango-graphql-social-auth
.The text was updated successfully, but these errors were encountered: