Mantis - Auth Setup

Pending
G General August 04, 2022
Login to reply
Coded Themes Support Agent
1 month ago

Hello, Zack

    Remove AuthGuard and GuestGuard from utils. 

If still you have any other query, contact us


Regards,
Amit Gorasiya

Coded Themes Support Agent
1 month ago

yeah, we are here. Can you give us some time please, we will send you the instruction to remove auth.


Regards,

Rakesh

Zack null
1 month ago

Are you still there?


If its easier you could tell me how to just disable auth completely. 

Zack null
1 month ago

Please tell me both items.

1) how to remove completely. 

2) How to actually setup firebase without any errors.


Looking to try both, but would rather try and setup firebase and get that working if I had to pick one.

Coded Themes Support Agent
1 month ago

You want to remove authentication at all? let me know if that is what you want, I can help with you that.

Zack null
1 month ago

I have created a authentication app in firebase and placed the url in the .env file. 

NEXTAUTH_URL=<my-app-name>.firebaseapp.com/

I am getting the below error now.

Zack null
1 month ago

Is there a way to bypass the authentication so anyone can get to the login page?

Coded Themes Support Agent
1 month ago

HI,


you need to have your own authentication app created in firebase as we have set localhost. Call back will not work unless you set proper URL.


Regards,

Rakesh

Zack null
1 month ago
It seems there is some callback issue perhaps? Can you take a look?
Zack null
1 month ago
Console Log
Zack null
1 month ago
Screenshot
Zack null
1 month ago
Coded Themes Support Agent
2 months ago

Hey, Zack
 
Please share error log or snipping screen for more error details.

Thank You!

Zack null
2 months ago

This is happening with provided code, no changes.

When running the app locally (npm run dev) I can use the auth feature ok. When the app is built for production use the auth feature stops working and I get the error I sent previously. 

Coded Themes Support Agent
2 months ago

Sir, not sure are you facing this issue with provided code or after changing code as per your need.

If you have changed something, please share file so  that we can help you better.

If this is happening with provided code (without any changes), let us know as well.


Regards,

Rakesh

Zack null
2 months ago

How do I solve the below issue on login page?


Cannot read properties of undefined (reading 'data')

Coded Themes Support Agent
2 months ago

Hello, Zack

No there is no any guide for the Azure auth setup. Sorry for that.

Zack null
2 months ago

Is there a wiki for setting up the auth part of the application for running in Azure App Service?

Additional Info

Order#: 47828

Purchase From?: mui.com

Name of Product/template: Mantis