Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8948473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:00:01+00:00 2026-06-15T13:00:01+00:00

My API should support official apps as well as third-party apps. For official apps

  • 0

My API should support “official” apps as well as third-party apps. For official apps I don’t want the user to explicitly grant access (after login).

I’m I right, that I can skip the “allow” screen as long as I restrict the redirect_uri to something like http://official.service.tdl? Or does this has security implication I didn’t think of?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T13:00:02+00:00Added an answer on June 15, 2026 at 1:00 pm

    For official apps, assuming they are confidential clients, you can use client credentials grant. It sounds like the official app and your API will have a pre-established relationship, and your organization also controls the access server. In the client credentials grant the client can just talk to the access server directly and gets a token to use with your API.

    If you want to bypass user authorization when the redirect uri is from your company, then you should look at Authorization Code Redirection URI Manipulation, in particular

    In order to prevent such an attack, the authorization server MUST
    ensure that the redirection URI used to obtain the authorization code
    is identical to the redirection URI provided when exchanging the
    authorization code for an access token.  The authorization server
    MUST require public clients and SHOULD require confidential clients
    to register their redirection URIs.  If a redirection URI is provided
    in the request, the authorization server MUST validate it against the
    registered value.
    

    and you would need to make sure you don’t have any open redirects that match your redirect URI.

    Or you can just let users authorize access once and use refresh tokens so they don’t need to re-authorize access.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to support pagination in my RESTful API. My API method should return
I'm desperate. I just want to install a Google MAP API and it should
as stated in bug #17429 , official support for the python api is ending,
How should __nonzero__ be implemented using the Python C-API? The reason I'm asking is
How should i get Application specific Google Map Api key so that when i
I remember Google says we should always use the latest API and set the
This should be a simple question, but I just can't recall the relevant API.
I am calling an API, which should return a JSON file. Here is the
I'm designing a REST API. What response should a server send to mean I've
I'm designing a public API for a system. I'm having doubts where should I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.