🐛 Bug Report: Phone authentication env variable not parsing slash #5913
Labels
bug
Something isn't working
product / auth
Fixes and upgrades for the Appwrite Auth / Users / Teams services.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
👟 Reproduction steps
When I configure
_APP_SMS_PROVIDER
e.g. Telesign. Use the CreateCreatePhoneSession()
method in a web application.👍 Expected behavior
Create a session for the inputted phone number and receive an OTP to complete registration.
👎 Actual Behavior
When the Create
CreatePhoneSession()
method is used, it returns an error.Because the
API Key
used has a slash as part of the value, the system returns anInvalidArgumentException: Unable to parse DSN
error.Full error below
🎲 Appwrite version
Version 1.3.x
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: