Firebase OAuth's callback URL does not include the project ID - firebase

I want to use Twitter authentication with Firebase Auth.
As usual I created a project in the firebase console and added a web app, but the project ID is not included in the callback URL, and cannot work with twitter app.
How can fix this?
Thank you for hearing my poor English.
empty callback url
process which caused the problem

Related

Firebase Web Debug Token different each time for App Check

I can't make my app work in local host with App Check. Each time the generated debug token is different so I can't add it in the console. The only way I made it work is to add programmatically to index.html the custom debug token I generated like this:
self.FIREBASE_APPCHECK_DEBUG_TOKEN = '186152BD-4BAA-blabla';
is there a way to do this only for development environment? I know we can get the environment from Flutter inside flutter from String.getFromEnrironment but I don't know how I would do this with plain javascript before the app loads?
I read that adding localhost to the recaptcha key is a security breach so I didn't want to go that route.

Workaround for web-view blocking google authentication within a web application

Good Morning,
So I am facing a dilemma using Firebase Auth (specifically Google OAuth).
Google seems to have blocked the use of their OAuth when a user access my site via a web-view (for example they have clicked on the link in TikTok and the website has opened within a view in TikTok)
It makes sense as to why Google has blocked this, however, this is now stopping my ads from being successful as users see the ad, click on the link, and then it opens up in the TikTok web view, and then they can't log into my web application.
I'm using the simple Firebase Authentication plugin, with Nuxt/Firebase the code for it is as below:
const provider = new this.$fireModule.auth.GoogleAuthProvider()
provider.setCustomParameters({
prompt: 'select_account'
})
this.$fire.auth.signInWithPopup(provider)
Does anyone know any workaround? I've googled this so much but the only real solution I have come across is if I'm creating an android/ios app and this is not a mobile application, this is just a web application.
Thanks so much for your help.

Error occur after changing firebase project

I have a little app with authentication and simple crud methods. I decided to change my app-connected firebase project to another new project. before I change the firebase project app was worked fine. but after change it, the authentication part works fine, but when I go to retrieve some data it shows the following error.
D/FirebaseAuth(20666): Notifying id token listeners about a sign-out event.
D/FirebaseAuth(20666): Notifying auth state listeners about a sign-out event.
before I change the firebase project app was working fine.
I add JSON file correctly
are there any changes to do after change firebase project
please help me this situation is so hard.
it shows the following error too. Problem is app was work fine I am 100% these problems occur after change firebase project

Callback URL in Google App Maker

I'm building an App Maker app that uses the Google OAuth2 library (https://github.com/googlesamples/apps-script-oauth2) to connect to an external service.
All is working fine until it comes to setting a callback URL. I've implemented the same type of project for a Google Sheets addon, but using apps script there I can get the script URL, but I can't seem to access that with App Maker, making it tricky to register the callback URL in the API I'm accessing.
Has anyone found a solution to this?
Thanks,
Paul
I know at least two ways how you can get callback URL:
Copy it from your deployment
Get it in runtime:
// server script
var url = ScriptApp.getService().getUrl();

Auth0 Authorization Stops Working When API is Published (.Net Web API / Angular)

I am currently using Auth0 with Loc7 in Angular and an ASP .Net Web API v2.
The project works fine locally. The user can log in using the widget and the API sees the User as authorised with no issue.
When the app is published the API returns 401 unauthorised when a call is made.
There is no issue with Angular app no matter where on the web space it is placed so I do not believe it is an issue with the Allowed Callback URLs in the Auth0 dashboard.
The config works fine locally and there are no major changes when being published except the database connection string.
The database is an exact copy of the local database.
The API MVC Template works fine but does not do anything aside from load and show routes. I have not changed the template since it was generated.
There are no errors on the server.
The API is in a newly created app directory on the server.
Auth0 Dash reports the login from the Angular code successful. The profile is returned with a valid token viewed through the dev console.
Has anyone else had a similar issue? Could this be an issue with how the hosting is set up?
Happy to post more info, I am not really sure what to post it is a fair amount of code.

Resources