408 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
47
views
Microsoft Graph scopes are not showing up in the access token my API receives
We have a SPA with an associated API back end. The user is authenticating fine against Azure Entra, and I can access the API as well. This is an internal app, and I want to know more about the user. ...
0
votes
0
answers
94
views
In Azure, how do I setup a scope for a User Assigned Manged Identity, so I can request an access token in C# with limited scope?
var credential = new ManagedIdentityCredential(managedIdentityClientId);
var token = await credential.GetTokenAsync(new TokenRequestContext(new[] {"<MY-API-SCOPE>/.default"}), ...
0
votes
0
answers
27
views
How to be sure to get user's email in userDetails of client principal data?
(This question is related to How can I safely obtain user claims from an Azure Function after authentication?)
I aim to set up Authentication for an Azure Static Web App resource using Okta as an ...
0
votes
0
answers
110
views
Why am I getting different @RequestScope bean instances in my Filter vs. Controller?
I've just upgraded to Micronaut 4 and Java 21 and I'm trying to share state between a HttpServerFilter and a Controller using a @RequestScope bean. My goal is to set some summary information (like a ...
0
votes
0
answers
64
views
Google Fit physical activity data, .../auth/fitness.activity.write
Google Fit physical activity data,
We request access to the Google Fit scope for writing activity data in order to record completed meditation sessions as part of the user’s health and wellness ...
0
votes
0
answers
26
views
@PostConstruct method not called when RequestScoped bean injected in ApplicationScoped bean
I have the following Producer class:
@RequestScoped
public class MsmEntityManagerProducer {
@PersistenceContext(unitName = MSM)
private EntityManager entityManager;
private static final ...
-1
votes
1
answer
74
views
Superglobals vs $GLOBALS visibility in PHP
here is how Superglobals are defined in PHP
Superglobals — Built-in variables that are always available in all
scopes
And here is how $GLOBALS are defined here
$GLOBALS — References all variables ...
1
vote
1
answer
91
views
Minimal Google Drive scope to select folder and move files there
I am writing a Google Workspace add-on where the script creates one Google Document for each line in a Google Sheet owned by the user. The Google Documents are saved in the root of the user's Google ...
0
votes
1
answer
217
views
Permission error accessing attachments of a Classroom assignment with c#
With the code of the method that I put below I try to obtain the list of add-on attachments of a Classroom assignment. I access with the account of the teacher of the class and as you can see at the ...
-1
votes
1
answer
1k
views
Azure Entra Id OAuth2 can't seem to get past Invalid scope error. How should i send in the scopes?
I'm trying to get OAuth access for Azure DevOps to access my workitems.
I think I have most of the beginings in place, i have a app registered in Entra Id and i have set up the API permissions like ...
1
vote
0
answers
90
views
How can i implement incremental authorization with google oauth. Not much content on this, tried next auth, supabase, clerk but can't get it done
What i want to achieve is, after signing in with google I have the default scope but I want some extra scope after signing in so how can i do it programmatically. So that's what i want to achieve. ...
0
votes
1
answer
861
views
What are the correct scopes in Azure to both retrieve user profile picture and use IMAPS?
I am authenticating a user using OAuth 2.0 with the following scopes:
https://outlook.office.com/IMAP.AccessAsUser.All https://outlook.office.com/SMTP.Send offline_access openid profile
To retrieve ...
0
votes
1
answer
747
views
How to add authorization scope to existing Google project for YouTube Data API v3
I run several processes against a few YouTube accounts to gather information about my videos, including video descriptive data, status (views, likes, ...), subscriber lists, gathering chat data and so ...
0
votes
0
answers
259
views
Adding OAuth scopes to a call in an OpenApi Generator generated client
I'm using OpenAPI Generator (7.8.0-SNAPSHOT with RestSharp library) to generate a C# client for a rest api deployed on Azure that is using OAuth to grant access and authorizations.
Now the ...
0
votes
0
answers
69
views
How to configure Google OAuth 2.0 to AVOID requesting user email address?
I'm using Google OAuth 2.0 for user authentication in my application, and it's working well. However, during the authentication/registration process, users are notified that my application will ...