google api - how to turn off oauth consent screen after allow permission? -


i have 2 questions in thread.

  1. i use google api authentication. after run code make credential, browser opens oauth consent screen in new tab (google chrome). how can show popup dialog, not open new tab anymore?

  2. after click accept button, api return text tell me token received in tab. how can turn off immediatelly?

thank you!

  1. depends on language using. consent form web page assuming can create own popup window web browser feed consent uri.
  2. you cant authentication code returned authentication server web page going have open someplace.

Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -