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

📚 Documentation: Minor mistakes in Android (Kotlin) code about OAuth2 #1752

Open
2 tasks done
arkountos opened this issue Feb 7, 2025 · 0 comments
Open
2 tasks done
Labels
documentation Improvements or additions to documentation

Comments

@arkountos
Copy link

💭 Description

I found two + one minor mistakes to fix in the doc code

In this page: https://appwrite.io/docs/products/auth/oauth2

The code provided for Android (Kotlin) under "Initialize OAuth 2 login" shoud:

  1. Include the context when creating the client val client = Client() -> val client = Client(applicationContext) or similar

The code provided for Android (Kotlin) under "OAuth 2 profile" should:

  1. Rename the response val to session for the script to work, and
    2) Replace the "[SESSION_ID]" with something like "current", which I found to work (?) (may not be an issue, worth checking out)

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@arkountos arkountos added the documentation Improvements or additions to documentation label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant