AspNet.Security.OAuth.Providers
AspNet.Security.OAuth.Providers copied to clipboard
Add Wix provider
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
Hey @levimatheri.
Thanks for your offer! I assigned this ticket to you. Let us know if you need help.
Thanks @kevinchalet!
Unfortunately it doesn't seem like there's an endpoint to get the current user details, nor a member-id in the JWT...
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.
Good find. I'll dig into this.
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(?).
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?