-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation on how to call with a bearer token when deployed to AppServices #35
Comments
I noticed that the documentation page was updated 01/06/2022. But the sections about tokens remain unchanged. To summarize:
|
Here's how to set up Postman for AAD-based bearer token. Please consider including in the Wiki TLDR:When requesting a token for your client, make sure you are using the OAuth 2 v2 endpoint BackgroundJust as described in the docs, this app does not do any additional validation or auth checks and only looks for Issuer and Audience. Out of box:
Of course you can edit the code of the sample app for more sophisticated validation, but that's what you get out of box. You can use https://jwt.ms/ to test the tokens you are getting for the correct values. Step by step:
Go to App Registrations, create a new one, record the "Application (client) ID" from the Overview page
Type: OAuth 2 == Configure New Token
ConclusionI still stand by the fact, that if would be nice if the app implemented a login page / proper AAD integration for a more friendly way of displaying user info. I work in presales (not a dev) and all I need is a sample app to show customers why SCIM is cool and they should demand it from the developers. This sample in its current state would probably be a show-stopper for way too many presales folks: one must know VS / VS Code, GitHub, upgrade the app from unsupported .NET Core 3.1 to at least .NET6, know Azure App Services, understand tokens, Postman etc., AND be able to write a customer-pleasing front-end to this thing... |
As I am new to SCIM I am having trouble finding out how to call the SCIM endpoints when I deploy them to Azure App Service.
I would like to test the 3 different Authorization Methods described here https://docs.microsoft.com/en-us/azure/active-directory/app-provisioning/use-scim-to-provision-users-and-groups#authorization-for-provisioning-connectors-in-the-application-gallery
But I am unsure how to proceed to make this work
The text was updated successfully, but these errors were encountered: