Actually i was trying to have a login page in phonegap using eclipse,so now i have html code in eclipse as well as php code in localhost,I am getting the php code using Json in eclipse.
But after entering username & password and pressing login button.Now the issue comes that
Application Error
"There was an network error("http://192.x.x.x/learn/co.php?Username="
Have you add this settings in your config.xml :
<access origin="*"/>
More info on phone gap doc here
Related
i started on a linux VM ware,and here comes the configuration
enter image description here
before i pasted it in the shiro.iniļ¼the zeppelin can be visited by anonymous user(the default user), but after i copy shiro.ini.template to shiro.ini and paste the configuration under the line [main] and restart the zeppelin with zeppelin-daemon.sh ,then i connect to localhost:8080, the 503 error shows on the browser.
what can i do ? I want to use mysqlDatasource with JDBCRealm to authenticate users who use the zeppelin
Im trying to test out this demo on my own windows machine: https://github.com/Autodesk-Forge/forge-bim360-clashissue
Ive successfully started had the template running with these commands.
npm install
set FORGE_CLIENT_ID=<<YOUR CLIENT ID FROM DEVELOPER PORTAL>>
set FORGE_CLIENT_SECRET=<<YOUR CLIENT SECRET>>
set FORGE_CALLBACK_URL=<<YOUR CALLBACK URL>>
npm run nodemon
Ive added a new app within the Forge My Apps interface.
Ive added the provisions for the the BIM 360 Account interface.
I can connect to my localhost, and when i press ALLOW to try to authenticate and login to the autodesk account, i get redirected to the following website with the following error:
http://localhost:3000/api/forge/oauth/callback?code=TOAq...
Cannot GET /api/forge/oauth/callback
How can i get past this error?
It looks like a configuration mismatch. You have configured the callback to be http://localhost:3000/api/forge/oauth/callback but according to https://github.com/Autodesk-Forge/forge-bim360-clashissue/blob/master/server/endpoints/oauth.endpoints.js#L72 your server actually expects the callback on a different URL: http://localhost:3000/api/forge/callback/oauth.
Hi I've been stuck on this for days! I'm trying to use keycloak to authenticate my electron app after converting my react app using this guide.
When I run 'npm run electron:dev' , keycloak redirects to the login page. However, when I run 'npm run electron:prod' this fails.
Logs from keycloak server shows:
Server:server-one] 08:58:31,575 WARN [org.keycloak.events] (default task-3) type=LOGIN_ERROR, realmId=codingpedia, clientId=my-ui, userId=null, ipAddress=127.0.0.1, error=invalid_redirect_uri, redirect_uri=file:///home/mycompany/john/projects/boilerplate-javascript-electron/app/build/index.html
Notice that the redirect_uri is 'file:///...' which I believe to be the cause of it.
I've also tried to change the below but it does not resolve the problem.
// import createHistory from 'history/createBrowserHistory';
import createHistory from 'history/createHashHistory';
Why is this working in dev but not in prod? Is there something I'm missing? Thank you in advance!
It works in dev probably because the "index.html" file is located in your computer (file:///home/mycompany/john/projects/boilerplate-javascript-electron/app/build/index.html).
This stackoverflow thread tells how to properly set the redirect_uri parameter, through the admin console.
Note: make sure you can remotely access your index.html in prod, using a browser or any other client tool (HTTP GET).
I've implemented sign in with facebook using identity toolkit for android.
It works fine on android versions 5 and up but when running on android version 4.4.2 I get an error.
Instead of starting the login flow the following error is displayed in the browser:
' Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings. '
I didn't implement a customized login flow so I am expecting to get the default login flow.
In gradle I have the following dependencies:
compile 'com.facebook.android:facebook-android-sdk:4.8.1'
compile(name:'identitytoolkit-api11', ext:'aar')
compile(name:'identitytoolkit_fbv4', ext:'jar')
And the app setting in facebook developer console is :
Client OAuth Settings
I don't think the issue is with the app setting because it does work for higher android versions.
I will continue to explore this issue but any advice will be very appreciated.
Thanks!
After further investigation : This error also occured when using a signed apk (as opposed to debug mode where it worked)
As it turns out the cause of all this was the use of ProGuard.
After adding the following lines to ProGuard rules file:
-dontwarn com.google.identitytoolkit.**
-keep class com.google.identitytoolkit.** { *; }
-keep interface com.google.identitytoolkit.** { *; }
the insanity finally stopped.
Using vagrant i created phpmyadmin.app for phpmyadin
http://phpmyadmin.app:8000 is working fine in firfox but not for crome. Why is that . Any one have a clue to fix.
Error>>>
This webpage is not available
ERR_ICANN_NAME_COLLISION
Hide details
This site is using a new generic top-level domain (gTLD). If you have used phpmyadmin.app to access an internal site in the past, contact your network administrator.
<<<<
Check your hosts file (C:\Windows\System32\drivers\etc\hosts):
It should include:
192.168.70.10 epass.app
Where 192.168.70.10 - ip of vagrant.