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

Add Wix provider #647

Open
levimatheri opened this issue Jan 22, 2022 · 7 comments
Open

Add Wix provider #647

levimatheri opened this issue Jan 22, 2022 · 7 comments

Comments

@levimatheri
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Wix.com offers OAuth2 API. I'd like to implement it as Provider.

Describe the solution you'd like
Add a new provider for Wix.com

@kevinchalet
Copy link
Member

Hey @levimatheri.

Thanks for your offer! I assigned this ticket to you. Let us know if you need help.

@levimatheri
Copy link
Contributor Author

Thanks @kevinchalet!

@levimatheri
Copy link
Contributor Author

levimatheri commented Feb 2, 2022

Unfortunately it doesn't seem like there's an endpoint to get the current user details, nor a member-id in the JWT...

@martincostello
Copy link
Member

I found a reference to a JavaScript API to do that here, which implies there's an API somewhere to obtain the current user. However so far I haven't been able to find this SDK's code to look at the implementation to see if I can find what that endpoint is, if it does indeed exist.

@levimatheri
Copy link
Contributor Author

Good find. I'll dig into this.

@levimatheri
Copy link
Contributor Author

levimatheri commented Feb 3, 2022

Not sure about this anymore lol. It seems there's no way of getting current user as per this response. Parsing the token that's returned from the Wix authorization server reveals info about the app instance only. I presume the Principal in this case is the installed app instance and not a user(?).

@martincostello
Copy link
Member

I'm afraid I don't know the answer to that one. Maybe ask Wix how to find out what the current user's ID is?

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

No branches or pull requests

3 participants