Send appwrite function url as url redirect url param for creating magic url session
- 0
- Auth
- Functions

I would like to send appwrite function url as url redirect param for creating magic url session.
The error I am getting is "URL host must be one of: localhost, cloud.appwrite.io, appwrite.io
Appwrite function url is like *.appwrite.global

Are you using Cloud?

Yes

Are you using a custom domain at all?

No.. I have created an appwrite function.. I want to send the function url in the url param of createmagicurlsession

It looks like the only way to do what you want would be to use a custom domain name with Appwrite Cloud. You'd be able to set the custom domain as a hostname in your project which should allow you to provide it as a URL for the magic URL session

But how can I set *.appwrite.global as a custom domain

?
Recommended threads
- Appwrite stopped working, I can't authen...
I'm having an issue with Appwrite. It was working fine just a while ago, but suddenly it stopped working for me and can't authenticate accounts. I even went bac...
- error code:524 for functions running lon...
We are having this issue, no longer the function runtime or code, if it goes longer than 1 minute, there's no logs at all, just this error: **error code: 524**
- Set succes/failure url in console
Hi guys, I want to set up a succes and failure url for my OAuth2 provider Google. But I don't see any options for this? Is it not possible to do so? Beside th...
