Azure / Azure/Azure-Functions

Azure AD getting authorization code

Open
#1,086 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

Hi
I'm have developed a new rest API using Azure Function.
I want it to be secure.
I have set up the App registration using this document:
https://docs.microsoft.com/en-us/azure/app-service/configure-authentication-provider-aad

And when I try to authenticate a rest request using this document
https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-protocols-oauth-code

Instead of getting authorization code I get the “Sign in to your account” web page.

The request I made contains the following keys:
client_id, response_type, redirect_uri, response_mode, resource, state.

I used Postman to send the post request.

What am I doing wrong?
Is there a wiki or page that can demonstrate the whole process and best practice.

Thank anyone that can help
Izia

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.