Auth0 Home Blog Docs

Universal Login/Sign Up with Expo

Hello! I have been having a lot of fun with Auth0 and Expo. I am using the Universal Log In page, but we have been running into quite a few issues. When signing up, it routes to the log in page, and then after logging in with proper credentials it goes to an error page on the app.

Hey there @jaymaas.dev, welcome to Auth0’s Community!

When you get a chance can you share any screenshots or more details with the errors you’ve been receiving. Also when you get a chance can you direct message me the tenant associated with the app? Thanks in advance!

1 Like

Right now my biggest issue is that on android devices I can not seem to find a way to wipe the token so that i can resign in users. Unfortunately I cannot get the results to reproduce. Now it is logging them right away.

Is there a way to get the log in page to not store a cookie ?

Also The last screen i shared commonly does not push back into the app. I experience this on both iOS and AVD

This seems to be a device specific issue within mobile devices native browser.

The issue here is that with android the native browser is not closing after the promise resolves

@James.Morrison I have provided some additional info. Give me a shout when you can thanks!

Hi there @jaymaas.dev, sorry for the delay in response.

Can you elaborate a bit more on this please when you get a chance. Which device specifically( models/versions )? Thanks!

The devices tested on are Pixel, Pixel XL, Samsung S10. Emulated Pixel tested as well.

Having an issue with the logout as well. Is it possible to arrange a call to help sort our production team out. We are developing an application and would like some assistance.

here is the code. We are building with Expo. This is inside a function that is called on the press event of a touchableOpacity

await WebBrowser.openBrowserAsync(http://key-conservation.auth0.com/v2/logout)

After reviewing the docs I am still unclear if I am understanding what is happening in the web browser with the Universal log in page. Is it storing a cookie with a refresh token? How is it able to log in anytime a user visits the universal login page? Looking forward to more communication, and would love to see a solution to the web browser automatically closing after authentication on an android device. Thanks!

On Android platform as well when the Sign Up is performed throught the universal log in page, it does not always silent log in