Is there any way/workaround to verify an email-address without being logged in? We're building a mobile app and if this isn't possible we have to introduce uni links only for this case - ideally i can setup a simple web page which executes the verfication request with just the userId and the token provided by appwrite
you must log in to trigger the email verification. You can use a separate web page to confirm the email, though
Once your user is back in your website or app, you can use both the userId and secret params provided as part of the callback URL to complete the verification using the updateVerification method. Note that this method is only available for logged-in users. Your user needs to have a valid session to trigger this API call.
is this outdated? https://gist.github.com/eldadfux/2eea9df7cc6dc18b63955dd8b10ad758
yes, that's outdated
You can technically use the backend to confirm the email
server SDK, can't you?
couldn't he just make an API route or function route that, when clicked, verifies the user with the passed ID?
i guess you could create a function and use that function as the redirect URL
i will just create a page which parses the query parameters and call a function to verify
this should work but then i have to manage tokens by myself i guess
there are no other tokens needed besides the secret that comes from the email
I mean you could also use the Server SDK, use a function to do it
there's no need for a server SDK
You could also use a Magic URL and then on the confirmation page for the magic URL call it a confirmation no?
oh true
yes so i just can do it very easy, thanks - i just read the gist which looks updated and is official π
Recommended threads
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems
- Applying free credits on Github Student ...
So this post is kind of related to my old post where i was charged 15usd by mistake. This happens when you are trying to apply free credits you got from somewh...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...