JavaFX fails to redirect to OAuth 2 grantHow is OAuth 2 different from OAuth 1?How does OAuth 2 protect against things like replay attacks using the Security Token?What is the purpose of the implicit grant authorization type in OAuth 2?Android Issue with WebView and overriding the urlUsing oauth with node-webkitSign In With Oauth In AndroidLinkedIn OAuth 2.0 Redirect URLRedirect oAuth Post to another domainJavaFX WebView prevent redirectsSalesforce oauth redirects to instance url for login

Where are the Wazirs?

Define functions in a tikzcd diagram

Category-theoretic treatment of diffs, patches and merging?

Why did Robert F. Kennedy loathe Lyndon B. Johnson?

How did the IEC decide to create kibibytes?

What are the effects of abstaining from eating a certain flavor?

Can you create a free-floating MASYU puzzle?

QR codes, do people use them?

Shipped package arrived - didn't order, possible scam?

Was it ever illegal to name a pig "Napoleon" in France?

Attach a visible light telescope to the outside of the ISS

Need a non-volatile memory IC with near unlimited read/write operations capability

How was the website able to tell my credit card was wrong before it processed it?

How to deal with account scam and fraud?

What is the highest level of accuracy in motion control a Victorian society could achieve?

How do ballistic trajectories work in a ring world?

Does anyone have a method of differentiating informative comments from commented out code?

What exactly is a "murder hobo"?

How can I use my cell phone's light as a reading light?

Users forgotting to regenerate PDF before sending it

Computer name naming convention for security

I don't want to be introduced as a "Minority Novelist"

My professor has told me he will be the corresponding author. Will it hurt my future career?

How to understand flavors and when to use combination of them?



JavaFX fails to redirect to OAuth 2 grant


How is OAuth 2 different from OAuth 1?How does OAuth 2 protect against things like replay attacks using the Security Token?What is the purpose of the implicit grant authorization type in OAuth 2?Android Issue with WebView and overriding the urlUsing oauth with node-webkitSign In With Oauth In AndroidLinkedIn OAuth 2.0 Redirect URLRedirect oAuth Post to another domainJavaFX WebView prevent redirectsSalesforce oauth redirects to instance url for login






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















In my google chrome browser, the linked URL for the OAuth 2 grant works from this URL: https://temperlesergal.github.io/NuBot/discord/?, However, it will not redirect in WebView, or more accurately, it does redirect, but displays nothing.



I have tried setting up a custom header (but I just typed OAuth grant for NuBot discord bot). I have tired the redirect URL manually loaded through the WebView engine load URL, I have tried the site listed aboce, all to no avail.
JavaScript is enabled. Please keep in mind that discord loads, but as soon as you try to log in, the redirect works, but nothing shows.



public void newUserSignIn(MouseEvent mouseEvent) 
newUserPane.setVisible(false);
signInPane.setVisible(true);
discordSignIn.setVisible(true);
System.setProperty("sun.net.http.allowRestrictedHeaders", "true");
FadeIn webFade = new FadeIn(discordSignIn);

System.out.print(discordSignIn.getEngine().javaScriptEnabledProperty());


discordSignIn.getEngine().load("https://temperlesergal.github.io/NuBot/discord/index.html");
webFade.play();



Expected results: Discord OAuth 2 grant redirect link to work and appear in WebView so that user can accept authorization request.



To give a better idea, here is a comparison with the same URL in a web browser vs webview:
https://gyazo.com/51772bab01b8f8031e76fc80367cc925










share|improve this question
























  • WebView works for just about everything, but discord... why? gyazo.com/afcd88d665b2c2665920f12352235483

    – Corbin
    Mar 25 at 23:03

















0















In my google chrome browser, the linked URL for the OAuth 2 grant works from this URL: https://temperlesergal.github.io/NuBot/discord/?, However, it will not redirect in WebView, or more accurately, it does redirect, but displays nothing.



I have tried setting up a custom header (but I just typed OAuth grant for NuBot discord bot). I have tired the redirect URL manually loaded through the WebView engine load URL, I have tried the site listed aboce, all to no avail.
JavaScript is enabled. Please keep in mind that discord loads, but as soon as you try to log in, the redirect works, but nothing shows.



public void newUserSignIn(MouseEvent mouseEvent) 
newUserPane.setVisible(false);
signInPane.setVisible(true);
discordSignIn.setVisible(true);
System.setProperty("sun.net.http.allowRestrictedHeaders", "true");
FadeIn webFade = new FadeIn(discordSignIn);

System.out.print(discordSignIn.getEngine().javaScriptEnabledProperty());


discordSignIn.getEngine().load("https://temperlesergal.github.io/NuBot/discord/index.html");
webFade.play();



Expected results: Discord OAuth 2 grant redirect link to work and appear in WebView so that user can accept authorization request.



To give a better idea, here is a comparison with the same URL in a web browser vs webview:
https://gyazo.com/51772bab01b8f8031e76fc80367cc925










share|improve this question
























  • WebView works for just about everything, but discord... why? gyazo.com/afcd88d665b2c2665920f12352235483

    – Corbin
    Mar 25 at 23:03













0












0








0








In my google chrome browser, the linked URL for the OAuth 2 grant works from this URL: https://temperlesergal.github.io/NuBot/discord/?, However, it will not redirect in WebView, or more accurately, it does redirect, but displays nothing.



I have tried setting up a custom header (but I just typed OAuth grant for NuBot discord bot). I have tired the redirect URL manually loaded through the WebView engine load URL, I have tried the site listed aboce, all to no avail.
JavaScript is enabled. Please keep in mind that discord loads, but as soon as you try to log in, the redirect works, but nothing shows.



public void newUserSignIn(MouseEvent mouseEvent) 
newUserPane.setVisible(false);
signInPane.setVisible(true);
discordSignIn.setVisible(true);
System.setProperty("sun.net.http.allowRestrictedHeaders", "true");
FadeIn webFade = new FadeIn(discordSignIn);

System.out.print(discordSignIn.getEngine().javaScriptEnabledProperty());


discordSignIn.getEngine().load("https://temperlesergal.github.io/NuBot/discord/index.html");
webFade.play();



Expected results: Discord OAuth 2 grant redirect link to work and appear in WebView so that user can accept authorization request.



To give a better idea, here is a comparison with the same URL in a web browser vs webview:
https://gyazo.com/51772bab01b8f8031e76fc80367cc925










share|improve this question
















In my google chrome browser, the linked URL for the OAuth 2 grant works from this URL: https://temperlesergal.github.io/NuBot/discord/?, However, it will not redirect in WebView, or more accurately, it does redirect, but displays nothing.



I have tried setting up a custom header (but I just typed OAuth grant for NuBot discord bot). I have tired the redirect URL manually loaded through the WebView engine load URL, I have tried the site listed aboce, all to no avail.
JavaScript is enabled. Please keep in mind that discord loads, but as soon as you try to log in, the redirect works, but nothing shows.



public void newUserSignIn(MouseEvent mouseEvent) 
newUserPane.setVisible(false);
signInPane.setVisible(true);
discordSignIn.setVisible(true);
System.setProperty("sun.net.http.allowRestrictedHeaders", "true");
FadeIn webFade = new FadeIn(discordSignIn);

System.out.print(discordSignIn.getEngine().javaScriptEnabledProperty());


discordSignIn.getEngine().load("https://temperlesergal.github.io/NuBot/discord/index.html");
webFade.play();



Expected results: Discord OAuth 2 grant redirect link to work and appear in WebView so that user can accept authorization request.



To give a better idea, here is a comparison with the same URL in a web browser vs webview:
https://gyazo.com/51772bab01b8f8031e76fc80367cc925







javafx oauth-2.0 url-redirection discord javafx-webview






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 25 at 21:49







Corbin

















asked Mar 25 at 21:31









CorbinCorbin

123 bronze badges




123 bronze badges












  • WebView works for just about everything, but discord... why? gyazo.com/afcd88d665b2c2665920f12352235483

    – Corbin
    Mar 25 at 23:03

















  • WebView works for just about everything, but discord... why? gyazo.com/afcd88d665b2c2665920f12352235483

    – Corbin
    Mar 25 at 23:03
















WebView works for just about everything, but discord... why? gyazo.com/afcd88d665b2c2665920f12352235483

– Corbin
Mar 25 at 23:03





WebView works for just about everything, but discord... why? gyazo.com/afcd88d665b2c2665920f12352235483

– Corbin
Mar 25 at 23:03












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55346710%2fjavafx-fails-to-redirect-to-oauth-2-grant%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55346710%2fjavafx-fails-to-redirect-to-oauth-2-grant%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현