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
Example can't authorize success. #144
Comments
Hi @weberlisper ! I'm sorry for the issue you've faced with! Please check the clientId, clientSecret and redirect URL in OAuth configuration on Crowdin. Redirect URL should match your App scheme. For example, for Also, if you are using crowdin.com, not Crowdin Enterprise, organization_name in the SDK config should be If after that, it still won't work, please provide the next details:
|
@denisqua Hello |
Let's go answer by answer:
According to that one, seems it isn't necessary to have crowdintest:// in the SceneDelegate.swift file: So I kindly ask to remove it from the SceneDelegate.swift file (and do everything according to the documentation)
Between first and second URLs I have coma, you put dot :) but anyway, seems it's needed only crowdintest://
If after removing callback from the config file and setting up URL Scheme inside info.plist file it won't work, I kindly ask you:
|
Thank you very much. It works! |
@weberlisper you're welcome as always! |
I create a project in crowdin, and replace distributionHash, sourceLanguage, clientId, clientSecret in SceneDelegate.swift file. After I run the Example, and click "Log in" but authorize failed. the status code is 401, and the error message is "Client authentication failed".
I use the same configuration in android sample, but success.
The text was updated successfully, but these errors were encountered: