Comments (2)
Correction:
It doesn't look like GoTrue is correctly parsing the path, as stated above. (Oops) I got path of Supabase domain mixed up with the path of my domain.
This is the output of the request start and complete, in the supabase auth logs.
Start Localhost Log:
{"component":"api","level":"info","method":"POST","msg":"request started","path":"/recover","referer":"http://localhost:61000/","remote_addr":"xxx.xxx.xxx.xxx","time":"2024-02-16T02:31:57Z","timestamp":"2024-02-16T02:31:57Z"}
Complete Localhost Log:
{"component":"api","duration":1593632,"level":"info","method":"POST","msg":"request completed","path":"/recover","referer":"http://localhost:61000/","remote_addr":"xxx.xxx.xxx.xxx","status":200,"time":"2024-02-16T02:31:57Z","timestamp":"2024-02-16T02:31:57Z"}
^^ This looks different from the Domain Complete Log (No auth event key in the JSON?)
Start Domain Log:
{"component":"api","level":"info","method":"POST","msg":"request started","path":"/recover","referer":"https://app.domain.com/recovery/","remote_addr":"xxx.xxx.xxx.xxx","time":"2024-02-16T02:47:23Z","timestamp":"2024-02-16T02:47:23Z"}
Complete Domain Log:
{"auth_event":{"action":"user_recovery_requested","actor_id":"c0ae2322-dbc0-4531-bc24-c37ff8141f2f","actor_username":"${email}","actor_via_sso":false,"log_type":"user"},"component":"api","duration":340455010,"level":"info","method":"POST","msg":"request completed","path":"/recover","referer":"https://app.domain.com/recovery/","remote_addr":"xxx.xxx.xxx.xxx","status":200,"time":"2024-02-16T02:47:24Z","timestamp":"2024-02-16T02:47:23Z"}
This reddit post looks related aswell:
https://www.reddit.com/r/Supabase/comments/11ps0ua/sign_in_redirect_always_goes_to/
from auth.
Hi @MeyerOppelt, as mentioned in our docs, the *
operator doesn't consider urls with a separator. It seems like you have a /
character at the end of your redirect urls, which is a separator. You can either removing that character or use **
in your allow list of redirect urls.
from auth.
Related Issues (20)
- Bad migration crashing server HOT 4
- Handle multiple originators for MessageBird phone auth HOT 2
- updateUser vs admin.updateUserById behavior with Anonymous Users HOT 2
- Should the `admin` create user handler of Auth create identities based on the provider under the hood? HOT 3
- Updating a user's password kills their session HOT 7
- Changing Apple bundle ID causes duplicate users HOT 1
- Information about Contributing Regional SMS Provider (via Send SMS HTTP Hook) HOT 3
- Supabase Auth latest gotrue migration impossible to resync using Prisma migrate HOT 3
- AuthException(message: FormatException: Unexpected end of input (at character 1) HOT 3
- Anonymous account does not have permission on schema "public" despite having valid JWT with "authenticated" role HOT 2
- Supabase should be sending X-Supabase-API-Version in Access-Control-Allow-Headers HTTP header
- REST API documentation consistency improvements HOT 3
- Raising an exception on postgress via triggers doesn't send the message to the API response HOT 1
- Flow State Not Found HOT 3
- raw_app_meta_data not updated when setting password for 3rd-party authenticated users
- Prevent MFA factor hijacking HOT 3
- With email verification disabled in my project, email verification is still required in order to promote an anonymous user HOT 3
- Email Verification Not Reflected in Identities Table (and JWT)
- docker image version of `supabase/auth` not updated HOT 1
- Invalid JWT if user signIn back via OTP after deleting his account
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth.