Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

Commit 72c9901

Browse files
authored
Merge pull request #12 from wham/fix-scope
Fixed API scope
2 parents 5400e5a + a899414 commit 72c9901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MSALiOSB2C/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class ViewController: UIViewController, UITextFieldDelegate, URLSessionDelegate
3838
let kSignupOrSigninPolicy = "b2c_1_susi" // Your signup and sign-in policy you created in the portal
3939
let kEditProfilePolicy = "b2c_1_edit_profile" // Your edit policy you created in the portal
4040
let kGraphURI = "https://fabrikamb2chello.azurewebsites.net/hello" // This is your backend API that you've configured to accept your app's tokens
41-
let kScopes: [String] = ["https://fabrikamb2c.onmicrosoft.com/demoapi/demo.read"] // This is a scope that you've configured your backend API to look for.
41+
let kScopes: [String] = ["https://fabrikamb2c.onmicrosoft.com/helloapi/demo.read"] // This is a scope that you've configured your backend API to look for.
4242

4343
// DO NOT CHANGE - This is the format of OIDC Token and Authorization endpoints for Azure AD B2C.
4444
let kEndpoint = "https://login.microsoftonline.com/tfp/%@/%@"

0 commit comments

Comments
 (0)